diff options
-rw-r--r-- | src/libgit2/diff_print.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libgit2/diff_print.c b/src/libgit2/diff_print.c index a91036289..6c5a2cdc8 100644 --- a/src/libgit2/diff_print.c +++ b/src/libgit2/diff_print.c @@ -316,10 +316,9 @@ static int diff_print_oid_range( static int diff_delta_format_path( git_str *out, const char *prefix, const char *filename) { - if (!filename) - { + if (!filename) { /* don't prefix "/dev/null" */ - return git_str_puts(out, "/dev/null"); + return git_str_puts(out, "/dev/null"); } if (git_str_joinpath(out, prefix, filename) < 0) |