aboutsummaryrefslogtreecommitdiff
path: root/diff.h
diff options
context:
space:
mode:
authorMichal Privoznik <mprivozn@redhat.com>2013-01-16 08:51:57 +0100
committerJunio C Hamano <gitster@pobox.com>2013-01-16 09:37:45 -0800
commit07ab4dec80f1c24660ed4bc371849fb4f11a4ee3 (patch)
tree3f9fc184e856b805b2d7a52873fd7f6ea6aee313 /diff.h
parent216120ab8387c5c9c13b673eab2ff5e1d2d9cbb7 (diff)
downloadgit-07ab4dec80f1c24660ed4bc371849fb4f11a4ee3.tar.gz
git-07ab4dec80f1c24660ed4bc371849fb4f11a4ee3.tar.xz
config: Introduce diff.algorithm variable
Some users or projects prefer different algorithms over others, e.g. patience over myers or similar. However, specifying appropriate argument every time diff is to be used is impractical. Moreover, creating an alias doesn't play nicely with other tools based on diff (git-show for instance). Hence, a configuration variable which is able to set specific algorithm is needed. For now, these four values are accepted: 'myers' (which has the same effect as not setting the config variable at all), 'minimal', 'patience' and 'histogram'. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.h')
0 files changed, 0 insertions, 0 deletions