summaryrefslogtreecommitdiff
path: root/convert.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2016-06-16 08:27:29 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-06-16 11:38:58 -0700
commit46e3d17f57f90538242b7a1dde126eba59f7c5ab (patch)
tree4ed00dbb1b0ae95feb43b0c9c1767545ba5364bc /convert.c
parentMerge branch 'jk/diff-compact-heuristic' (diff)
downloadtgif-46e3d17f57f90538242b7a1dde126eba59f7c5ab.tar.xz
add--interactive: respect diff.compactionHeuristic
We use plumbing to generate the diff, so it doesn't automatically pick up UI config like compactionHeuristic. Let's forward it on, since interactive adding is porcelain. Note that we only need to handle the "true" case. There's no point in passing --no-compaction-heuristic when the variable is false, since nothing else could have turned it on. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'convert.c')
0 files changed, 0 insertions, 0 deletions