summaryrefslogtreecommitdiff
path: root/color.h
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2017-06-30 20:53:09 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-06-30 20:59:42 (GMT)
commit86b452e2769e80b220327b1301c7487ad4afa4f4 (patch)
tree4caae0114a2d59d80a7c8cb12f4dc3e27cd7cc08 /color.h
parent176841f0c9b470b008c95eb50b7bb9424321d540 (diff)
downloadgit-86b452e2769e80b220327b1301c7487ad4afa4f4.zip
git-86b452e2769e80b220327b1301c7487ad4afa4f4.tar.gz
git-86b452e2769e80b220327b1301c7487ad4afa4f4.tar.bz2
diff.c: add dimming to moved line detection
Any lines inside a moved block of code are not interesting. Boundaries of blocks are only interesting if they are next to another block of moved code. Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'color.h')
-rw-r--r--color.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/color.h b/color.h
index 9062765..fd2b688 100644
--- a/color.h
+++ b/color.h
@@ -42,6 +42,8 @@ struct strbuf;
#define GIT_COLOR_BG_BLUE "\033[44m"
#define GIT_COLOR_BG_MAGENTA "\033[45m"
#define GIT_COLOR_BG_CYAN "\033[46m"
+#define GIT_COLOR_FAINT "\033[2m"
+#define GIT_COLOR_FAINT_ITALIC "\033[2;3m"
/* A special value meaning "no color selected" */
#define GIT_COLOR_NIL "NIL"