summaryrefslogtreecommitdiff
path: root/diff.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-09-29 13:49:03 -0700
committerJunio C Hamano <gitster@pobox.com>2010-09-29 13:49:03 -0700
commitb3c16ee454effda5ec8033ab665249710f622699 (patch)
tree9c50b0b2452c5332e7f37d769f5eec5484499e0e /diff.h
parentae893e097ecbcbd8c6bea50017eb8cedddc5eaba (diff)
parentbf1dfc31032bf6195be63dd92d0b67906e4ff4f8 (diff)
downloadgit-b3c16ee454effda5ec8033ab665249710f622699.tar.gz
Merge branch 'jc/pickaxe-grep'
* jc/pickaxe-grep: diff/log -G<pattern>: tests git log/diff: add -G<regexp> that greps in the patch text diff: pass the entire diff-options to diffcore_pickaxe() gitdiffcore doc: update pickaxe description
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 bf2f44d840..1fd44f5e47 100644
--- a/diff.h
+++ b/diff.h
@@ -238,6 +238,9 @@ extern int diff_setup_done(struct diff_options *);
#define DIFF_PICKAXE_ALL 1
#define DIFF_PICKAXE_REGEX 2
+#define DIFF_PICKAXE_KIND_S 4 /* traditional plumbing counter */
+#define DIFF_PICKAXE_KIND_G 8 /* grep in the patch */
+
extern void diffcore_std(struct diff_options *);
extern void diffcore_fix_diff_index(struct diff_options *);