Skip to content

Commit 71bb92b

Browse files
author
Edward Thomson
authored
Update src/libgit2/diff_print.c
1 parent d427f95 commit 71bb92b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/libgit2/diff_print.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,10 +316,9 @@ static int diff_print_oid_range(
316316
static int diff_delta_format_path(
317317
git_str *out, const char *prefix, const char *filename)
318318
{
319-
if (!filename)
320-
{
319+
if (!filename) {
321320
/* don't prefix "/dev/null" */
322-
return git_str_puts(out, "/dev/null");
321+
return git_str_puts(out, "/dev/null");
323322
}
324323

325324
if (git_str_joinpath(out, prefix, filename) < 0)

0 commit comments

Comments
 (0)