aboutsummaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-08-17 17:36:06 -0700
committerJunio C Hamano <gitster@pobox.com>2011-08-17 17:36:06 -0700
commitca01600306863ecfa8bbef769b8e1386cb149785 (patch)
tree30507da396d4a19240aed15c47a2f4356dd3987d /diff.c
parent2f5cb6aa1e2eb7b12df85d5ddc4d8bc79be47b3d (diff)
parent6486a84cb8e69ddf03b2139db3d968400e05f5b3 (diff)
downloadgit-ca01600306863ecfa8bbef769b8e1386cb149785.tar.gz
git-ca01600306863ecfa8bbef769b8e1386cb149785.tar.xz
Merge branch 'rc/histogram-diff'
* rc/histogram-diff: xdiff/xhistogram: drop need for additional variable xdiff/xhistogram: rely on xdl_trim_ends() xdiff/xhistogram: rework handling of recursed results xdiff: do away with xdl_mmfile_next() Make test number unique xdiff/xprepare: use a smaller sample size for histogram diff xdiff/xprepare: skip classification teach --histogram to diff t4033-diff-patience: factor out tests xdiff/xpatience: factor out fall-back-diff function xdiff/xprepare: refactor abort cleanups xdiff/xprepare: use memset()
Diffstat (limited to 'diff.c')
-rw-r--r--diff.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/diff.c b/diff.c
index 93ef9a265..d3d8daec7 100644
--- a/diff.c
+++ b/diff.c
@@ -3393,6 +3393,8 @@ int diff_opt_parse(struct diff_options *options, const char **av, int ac)
DIFF_XDL_SET(options, IGNORE_WHITESPACE_AT_EOL);
else if (!strcmp(arg, "--patience"))
DIFF_XDL_SET(options, PATIENCE_DIFF);
+ else if (!strcmp(arg, "--histogram"))
+ DIFF_XDL_SET(options, HISTOGRAM_DIFF);
/* flags options */
else if (!strcmp(arg, "--binary")) {