Skip to content

Commit

Permalink
Fix #569: Pass command line args through to the stage view (#823)
Browse files Browse the repository at this point in the history
  • Loading branch information
odnoletkov authored and jonas committed May 18, 2018
1 parent 0ea017d commit 2c60c49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/tig/git.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand Down

0 comments on commit 2c60c49

Please sign in to comment.