X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=show-diff.c;h=21c90453eb1320d4b5f6dd89d03b378e3ba54758;hb=c57a3a91f1cc0d037e7b7992cbfa6f4213dcf37e;hp=bc3791aaaab22f345bcf2478fdced16cd5e1bdce;hpb=e2e5e98a40d6ed04b7acf791cc2243ff32923db3;p=git.git diff --git a/show-diff.c b/show-diff.c index bc3791aa..21c90453 100644 --- a/show-diff.c +++ b/show-diff.c @@ -31,7 +31,7 @@ static void show_diff_empty(struct cache_entry *ce) int c = 0; printf("--- %s\n", ce->name); - printf("+++ %s\n", ce->name); + printf("+++ /dev/null\n"); p = old; end = old + size; while (p < end)