summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5ba030c)
raw | patch | inline | side by side (parent: 5ba030c)
author | Jonas Fonseca <fonseca@diku.dk> | |
Mon, 17 Mar 2008 13:58:51 +0000 (14:58 +0100) | ||
committer | Jonas Fonseca <fonseca@diku.dk> | |
Mon, 17 Mar 2008 14:01:13 +0000 (15:01 +0100) |
tig.c | patch | blob | history |
index 8f78697d466e8e0308990ae1e1134cfadc9e19fe..71ddbb5ae41775c84ac9abaa2c59db5884504208 100644 (file)
--- a/tig.c
+++ b/tig.c
/* Don't show unmerged entries in the staged section. */
#define STATUS_DIFF_INDEX_CMD "git diff-index -z --diff-filter=ACDMRTXB --cached -M HEAD"
-#define STATUS_DIFF_FILES_CMD "git diff-files -z"
+#define STATUS_DIFF_FILES_CMD "git update-index -q --refresh && git diff-files -z"
#define STATUS_LIST_OTHER_CMD \
"git ls-files -z --others --exclude-per-directory=.gitignore"