summaryrefslogtreecommitdiff
path: root/pkt-line.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-06-23 12:19:05 -0700
committerJunio C Hamano <gitster@pobox.com>2013-06-23 13:39:39 -0700
commite5c29097826be86e2f18139491cdf9c830c7fa3e (patch)
tree0428d8cc90953c1862a33ba0da3df5d1494d06db /pkt-line.c
parent2cc0f53b53e7d5456ec45713a201142754d69249 (diff)
downloadgit-e5c29097826be86e2f18139491cdf9c830c7fa3e.tar.gz
add -i: add extra options at the right place in "diff" command line
Appending "--diff-algorithm=histogram" at the end of canned command line for various modes of "diff" is correct for most of them but not for "stash" that has a non-option already wired in, like so: 'stash' => { DIFF => 'diff-index -p HEAD', Appending an extra option after non-option may happen to work due to overly lax command line parser, but that is not something we should rely on. Instead, splice in the extra argument immediately after the command name (i.e. 'diff-index', 'diff-files', etc.). Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pkt-line.c')
0 files changed, 0 insertions, 0 deletions