summaryrefslogtreecommitdiff
path: root/grep.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-08-10 11:55:29 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-08-10 11:55:29 -0700
commit7b163e918772736b69252053913ba5ccc24adb4d (patch)
tree0352673d01121d6578ffd25b2a15f7b438b2d707 /grep.h
parentMerge branch 'jk/diff-do-not-reuse-wtf-needs-cleaning' into maint (diff)
parentgrep: further simplify setting the pattern type (diff)
downloadtgif-7b163e918772736b69252053913ba5ccc24adb4d.tar.xz
Merge branch 'jc/grep-commandline-vs-configuration' into maint
"git -c grep.patternType=extended log --basic-regexp" misbehaved because the internal API to access the grep machinery was not designed well. * jc/grep-commandline-vs-configuration: grep: further simplify setting the pattern type
Diffstat (limited to 'grep.h')
-rw-r--r--grep.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/grep.h b/grep.h
index cee4357b17..5856a23e46 100644
--- a/grep.h
+++ b/grep.h
@@ -145,7 +145,6 @@ struct grep_opt {
extern void init_grep_defaults(void);
extern int grep_config(const char *var, const char *value, void *);
extern void grep_init(struct grep_opt *, const char *prefix);
-void grep_set_pattern_type_option(enum grep_pattern_type, struct grep_opt *opt);
void grep_commit_pattern_type(enum grep_pattern_type, struct grep_opt *opt);
extern void append_grep_pat(struct grep_opt *opt, const char *pat, size_t patlen, const char *origin, int no, enum grep_pat_token t);