summaryrefslogtreecommitdiff
path: root/diff.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-06-11 09:29:53 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-06-11 09:29:53 -0700
commitdb65170ee5558b47355e7f9f111aecb5b152d4d9 (patch)
tree475abf30cf47918b0e2d01b01ace04d20c498898 /diff.h
parentMerge branch 'jk/clone-dissociate' (diff)
parentdiff.h: rename DIFF_PLAIN color slot to DIFF_CONTEXT (diff)
downloadtgif-db65170ee5558b47355e7f9f111aecb5b152d4d9.tar.xz
Merge branch 'jk/color-diff-plain-is-context'
"color.diff.plain" was a misnomer; give it 'color.diff.context' as a more logical synonym. * jk/color-diff-plain-is-context: diff.h: rename DIFF_PLAIN color slot to DIFF_CONTEXT diff: accept color.diff.context as a synonym for "plain"
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 57762ee8b1..c7ad42addf 100644
--- a/diff.h
+++ b/diff.h
@@ -181,7 +181,7 @@ struct diff_options {
enum color_diff {
DIFF_RESET = 0,
- DIFF_PLAIN = 1,
+ DIFF_CONTEXT = 1,
DIFF_METAINFO = 2,
DIFF_FRAGINFO = 3,
DIFF_FILE_OLD = 4,