projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Consolidate the error handling
[git.git]
/
show-diff.c
diff --git
a/show-diff.c
b/show-diff.c
index
bc3791a
..
21c9045
100644
(file)
--- 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)