Drop -B from diff options
authorJonas Fonseca <fonseca@diku.dk>
Wed, 6 Feb 2008 02:30:23 +0000 (03:30 +0100)
committerJonas Fonseca <fonseca@diku.dk>
Wed, 6 Feb 2008 10:28:01 +0000 (11:28 +0100)
My main motivation is a recent (almost) rewrite where I actually wanted
to see a "real" diff instead of a rewrite diff.

tig.c

diff --git a/tig.c b/tig.c
index 73c8b25..446453d 100644 (file)
--- a/tig.c
+++ b/tig.c
@@ -105,7 +105,7 @@ static size_t utf8_length(const char *string, size_t max_width, int *coloffset,
        "git ls-remote $(git rev-parse --git-dir) 2>/dev/null"
 
 #define TIG_DIFF_CMD \
-       "git show --no-color --root --patch-with-stat --find-copies-harder -B -C %s 2>/dev/null"
+       "git show --no-color --root --patch-with-stat --find-copies-harder -C %s 2>/dev/null"
 
 #define TIG_LOG_CMD    \
        "git log --no-color --cc --stat -n100 %s 2>/dev/null"
@@ -3274,10 +3274,10 @@ error_out:
        "git ls-files -z --others --exclude-per-directory=.gitignore"
 
 #define STATUS_DIFF_INDEX_SHOW_CMD \
-       "git diff-index --root --patch-with-stat --find-copies-harder -B -C --cached HEAD -- %s 2>/dev/null"
+       "git diff-index --root --patch-with-stat --find-copies-harder -C --cached HEAD -- %s 2>/dev/null"
 
 #define STATUS_DIFF_FILES_SHOW_CMD \
-       "git diff-files --root --patch-with-stat --find-copies-harder -B -C -- %s 2>/dev/null"
+       "git diff-files --root --patch-with-stat --find-copies-harder -C -- %s 2>/dev/null"
 
 /* First parse staged info using git-diff-index(1), then parse unstaged
  * info using git-diff-files(1), and finally untracked files using