Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
builtin-grep: allow -<n> and -[ABC]<n> notation for context lines.
[gitweb.git]
/
git.c
diff --git
a/git.c
b/git.c
index aa2b814d9340839e587e39f45a2751c7eb0e1499..893bddd768674e7389864510f04655615233ebe3 100644
(file)
--- a/
git.c
+++ b/
git.c
@@
-8,7
+8,6
@@
#include <errno.h>
#include <limits.h>
#include <stdarg.h>
-#include <sys/ioctl.h>
#include "git-compat-util.h"
#include "exec_cmd.h"
@@
-47,6
+46,7
@@
static void handle_internal_command(int argc, const char **argv, char **envp)
{ "log", cmd_log },
{ "whatchanged", cmd_whatchanged },
{ "show", cmd_show },
+ { "grep", cmd_grep },
};
int i;