summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Odnoletkov <1752162+odnoletkov@users.noreply.github.com>2018-05-18 22:32:46 +0300
committerJonas Fonseca <jonas.fonseca@gmail.com>2018-05-18 15:32:46 -0400
commit2c60c493852024ddd75044ff9057fe5b26066cb7 (patch)
treeb926000208c18dcb3516763690e6fe74498e2e9e
parent0ea017d263555fc54061f31bca8c88c42a19b9f1 (diff)
Fix #569: Pass command line args through to the stage view (#823)
-rw-r--r--include/tig/git.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tig/git.h b/include/tig/git.h
index 76119839..56151d59 100644
--- a/include/tig/git.h
+++ b/include/tig/git.h
@@ -27,12 +27,12 @@
#define GIT_DIFF_STAGED(encoding_arg, context_arg, space_arg, old_name, new_name) \
"git", "diff-index", (encoding_arg), "--root", "--patch-with-stat", "-C", "-M", \
- "--cached", "--diff-filter=ACDMRTXB", DIFF_ARGS, (context_arg), (space_arg), "HEAD", \
+ "--cached", "--diff-filter=ACDMRTXB", DIFF_ARGS, "%(cmdlineargs)", (context_arg), (space_arg), "HEAD", \
"--", (old_name), (new_name), NULL
#define GIT_DIFF_UNSTAGED(encoding_arg, context_arg, space_arg, old_name, new_name) \
"git", "diff-files", (encoding_arg), "--root", "--patch-with-stat", "-C", "-M", \
- DIFF_ARGS, (context_arg), (space_arg), "--", (old_name), (new_name), NULL
+ DIFF_ARGS, "%(cmdlineargs)", (context_arg), (space_arg), "--", (old_name), (new_name), NULL
/* Don't show staged unmerged entries. */
#define GIT_DIFF_STAGED_FILES(output_arg) \