summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e2e5e98)
raw | patch | inline | side by side (parent: e2e5e98)
author | Petr Baudis <pasky@ucw.cz> | |
Wed, 13 Apr 2005 08:46:35 +0000 (01:46 -0700) | ||
committer | Petr Baudis <xpasky@machine> | |
Wed, 13 Apr 2005 08:46:35 +0000 (01:46 -0700) |
My convention is that contrary to files trimmed to zero size,
deleted files always go to /dev/null. This patch turns show-diff
to abide this.
Signed-off-by: Petr Baudis <pasky@ucw.cz>
deleted files always go to /dev/null. This patch turns show-diff
to abide this.
Signed-off-by: Petr Baudis <pasky@ucw.cz>
show-diff.c | patch | blob | history |
diff --git a/show-diff.c b/show-diff.c
index bc3791aaaab22f345bcf2478fdced16cd5e1bdce..21c90453eb1320d4b5f6dd89d03b378e3ba54758 100644 (file)
--- a/show-diff.c
+++ b/show-diff.c
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)