From 4ef1bf121de1697c9d54e10addcd34a4d19d3526 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Wed, 6 Feb 2008 03:30:23 +0100 Subject: [PATCH] Drop -B from diff options My main motivation is a recent (almost) rewrite where I actually wanted to see a "real" diff instead of a rewrite diff. --- tig.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tig.c b/tig.c index 73c8b25..446453d 100644 --- 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 -- 2.30.2