We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d427f95 commit 71bb92bCopy full SHA for 71bb92b
src/libgit2/diff_print.c
@@ -316,10 +316,9 @@ static int diff_print_oid_range(
316
static int diff_delta_format_path(
317
git_str *out, const char *prefix, const char *filename)
318
{
319
- if (!filename)
320
- {
+ if (!filename) {
321
/* don't prefix "/dev/null" */
322
- return git_str_puts(out, "/dev/null");
+ return git_str_puts(out, "/dev/null");
323
}
324
325
if (git_str_joinpath(out, prefix, filename) < 0)
0 commit comments