summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c8d9229)
raw | patch | inline | side by side (parent: c8d9229)
author | Jonas Fonseca <fonseca@diku.dk> | |
Wed, 6 Feb 2008 02:30:23 +0000 (03:30 +0100) | ||
committer | Jonas 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.
to see a "real" diff instead of a rewrite diff.
tig.c | patch | blob | history |
index 73c8b255a9d0a514b6802c88259611b895440e7e..446453d09046565011d8fadc16ffdc94bc655787 100644 (file)
--- a/tig.c
+++ b/tig.c
"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"
"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