mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-02 14:37:30 +00:00
fix the output format of diff
This commit is contained in:
parent
45d2e8dc46
commit
8384a50a21
@ -324,7 +324,7 @@ static void diff_print_shortstat(git_diff *diff)
|
||||
|
||||
if (ndeltas) {
|
||||
|
||||
printf(", %ld ", (long)ndeltas);
|
||||
printf(" %ld ", (long)ndeltas);
|
||||
printf("%s", 1==ndeltas ? "file changed" : "files changed");
|
||||
|
||||
if(nadditions_sum) {
|
||||
@ -336,6 +336,6 @@ static void diff_print_shortstat(git_diff *diff)
|
||||
printf(", %ld ",ndeletions_sum);
|
||||
printf("%s", 1==ndeletions_sum ? "deletion(-)" : "deletions(-)");
|
||||
}
|
||||
printf("\n");
|
||||
}
|
||||
printf("\n");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user