summaryrefslogtreecommitdiff
path: root/diff.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-10-30 20:16:26 -0700
committerJunio C Hamano <gitster@pobox.com>2009-10-30 20:16:26 -0700
commitd39d667169fda640065d48b70288c3342bd3195d (patch)
treefda6348bfc52ac132837c3f6816addb8bf85c20e /diff.h
parente3de372e135e765749426a0165e893283192e38c (diff)
parent86140d56c150aa17e6c98dde4ba669516f3c302a (diff)
downloadgit-d39d667169fda640065d48b70288c3342bd3195d.tar.gz
Merge branch 'js/diff-verbose-submodule'
* js/diff-verbose-submodule: add tests for git diff --submodule Add the --submodule option to the diff option family
Diffstat (limited to 'diff.h')
-rw-r--r--diff.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/diff.h b/diff.h
index 6616877ee5..2740421cfe 100644
--- a/diff.h
+++ b/diff.h
@@ -66,6 +66,9 @@ typedef void (*diff_format_fn_t)(struct diff_queue_struct *q,
#define DIFF_OPT_DIRSTAT_CUMULATIVE (1 << 19)
#define DIFF_OPT_DIRSTAT_BY_FILE (1 << 20)
#define DIFF_OPT_ALLOW_TEXTCONV (1 << 21)
+
+#define DIFF_OPT_SUBMODULE_LOG (1 << 23)
+
#define DIFF_OPT_TST(opts, flag) ((opts)->flags & DIFF_OPT_##flag)
#define DIFF_OPT_SET(opts, flag) ((opts)->flags |= DIFF_OPT_##flag)
#define DIFF_OPT_CLR(opts, flag) ((opts)->flags &= ~DIFF_OPT_##flag)