aboutsummaryrefslogtreecommitdiff
path: root/diff.h
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2008-09-25 08:41:42 -0700
committerShawn O. Pearce <spearce@spearce.org>2008-09-25 08:41:42 -0700
commitde813435621b914f2b3e148c6cc94ab0066300c3 (patch)
treedf8dc1ffcdb555e334d310cbb26d34ef12f28aed /diff.h
parent1500f7bc1366e71edb7e8a31f3cf5614e9591cc2 (diff)
parentfd33777b7871eefa440f89ccf7c432895af09c74 (diff)
downloadgit-de813435621b914f2b3e148c6cc94ab0066300c3.tar.gz
git-de813435621b914f2b3e148c6cc94ab0066300c3.tar.xz
Merge branch 'ho/dirstat-by-file'
* ho/dirstat-by-file: diff --dirstat-by-file: count changed files, not lines
Diffstat (limited to 'diff.h')
-rw-r--r--diff.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/diff.h b/diff.h
index 1ca4f4628..a49d865bd 100644
--- a/diff.h
+++ b/diff.h
@@ -64,6 +64,7 @@ typedef void (*diff_format_fn_t)(struct diff_queue_struct *q,
#define DIFF_OPT_RELATIVE_NAME (1 << 17)
#define DIFF_OPT_IGNORE_SUBMODULES (1 << 18)
#define DIFF_OPT_DIRSTAT_CUMULATIVE (1 << 19)
+#define DIFF_OPT_DIRSTAT_BY_FILE (1 << 20)
#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)