summaryrefslogtreecommitdiff
path: root/builtin.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-05-15 18:12:06 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-05-15 18:12:06 -0700
commitefca578eec57869994da0982e05dcf1dee0bc213 (patch)
tree21d7c2164b8f05467ded195b302841d135f08a38 /builtin.h
parentMerge branch 'lt/diff' (diff)
parentFix silly typo in new builtin grep (diff)
downloadtgif-efca578eec57869994da0982e05dcf1dee0bc213.tar.xz
Merge branch 'jc/grep'
* jc/grep: (22 commits) Fix silly typo in new builtin grep builtin-grep: unparse more command line options. builtin-grep: use external grep when we can take advantage of it builtin-grep: -F (--fixed-strings) builtin-grep: -w fix builtin-grep: typofix builtin-grep: tighten argument parsing. builtin-grep: documentation Teach -f <file> option to builtin-grep. builtin-grep: -L (--files-without-match). builtin-grep: binary files -a and -I builtin-grep: terminate correctly at EOF builtin-grep: tighten path wildcard vs tree traversal. builtin-grep: support -w (--word-regexp). builtin-grep: support -c (--count). builtin-grep: allow more than one patterns. builtin-grep: allow -<n> and -[ABC]<n> notation for context lines. builtin-grep: printf %.*s length is int, not ptrdiff_t. builtin-grep: do not use setup_revisions() builtin-grep: support '-l' option. ...
Diffstat (limited to 'builtin.h')
-rw-r--r--builtin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin.h b/builtin.h
index bb63f0729a..7744f7d2f6 100644
--- a/builtin.h
+++ b/builtin.h
@@ -23,5 +23,6 @@ extern int cmd_diff(int argc, const char **argv, char **envp);
extern int cmd_count_objects(int argc, const char **argv, char **envp);
extern int cmd_push(int argc, const char **argv, char **envp);
+extern int cmd_grep(int argc, const char **argv, char **envp);
#endif