diff options
author | Ingo Molnar <mingo@elte.hu> | 2005-04-12 11:36:26 -0700 |
---|---|---|
committer | Petr Baudis <xpasky@machine> | 2005-04-13 02:35:04 -0700 |
commit | aebb2679085d2ecc4d1c943ecfb2e87c699f00d0 (patch) | |
tree | 0ba51186089993112337d5b34a9ee23fe7cf4fdb /show-diff.c | |
parent | 42d545e8ff33f478a4b7b99562ab073d8820b334 (diff) | |
download | git-aebb2679085d2ecc4d1c943ecfb2e87c699f00d0.tar.gz |
[PATCH] Whitespace Fixes
Trivial whitespace fixes.
From: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Petr Baudis <pasky@ucw.cz>
Diffstat (limited to 'show-diff.c')
-rw-r--r-- | show-diff.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/show-diff.c b/show-diff.c index 21c90453eb..1286dd1217 100644 --- a/show-diff.c +++ b/show-diff.c @@ -5,7 +5,7 @@ */ #include "cache.h" -static void show_differences(char *name, +static void show_differences(char *name, void *old_contents, unsigned long long old_size) { static char cmd[1000]; @@ -33,7 +33,7 @@ static void show_diff_empty(struct cache_entry *ce) printf("--- %s\n", ce->name); printf("+++ /dev/null\n"); p = old; - end = old + size; + end = old + size; while (p < end) if (*p++ == '\n') lines ++; @@ -44,7 +44,7 @@ static void show_diff_empty(struct cache_entry *ce) if (startline) { putchar('-'); startline = 0; - } + } putchar(c); if (c == '\n') startline = 1; |