aboutsummaryrefslogtreecommitdiff
path: root/diff.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-08-26 22:55:04 -0700
committerJunio C Hamano <gitster@pobox.com>2017-08-26 22:55:04 -0700
commit0b9635847944f97079fc6c2283063cd3a0ed0271 (patch)
treea6bf49bea76fa9cd5d700657f7beeea150714f7d /diff.h
parentb6c4058f978433c51581df87283309b611bde87b (diff)
parentf0b8fb6e591b50b72b921f2c4cf120ebd284f510 (diff)
downloadgit-0b9635847944f97079fc6c2283063cd3a0ed0271.tar.xz
Merge branch 'jt/diff-color-move-fix'
A handful of bugfixes and an improvement to "diff --color-moved". * jt/diff-color-move-fix: diff: define block by number of alphanumeric chars diff: respect MIN_BLOCK_LENGTH for last block diff: avoid redundantly clearing a flag
Diffstat (limited to 'diff.h')
-rw-r--r--diff.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/diff.h b/diff.h
index 5755f465de..aca150ba2e 100644
--- a/diff.h
+++ b/diff.h
@@ -195,7 +195,7 @@ struct diff_options {
COLOR_MOVED_ZEBRA_DIM = 3,
} color_moved;
#define COLOR_MOVED_DEFAULT COLOR_MOVED_ZEBRA
- #define COLOR_MOVED_MIN_BLOCK_LENGTH 3
+ #define COLOR_MOVED_MIN_ALNUM_COUNT 20
};
void diff_emit_submodule_del(struct diff_options *o, const char *line);