Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
contrib/examples/git-merge.sh: avoid "test <cond> -a/-o <cond>"
[gitweb.git]
/
shell.c
diff --git
a/shell.c
b/shell.c
index 66350b220cc74abd383e10770f8325ba4e658e87..5c0d47a5cc1ae85a03e40321e97ddfa859ff7e1a 100644
(file)
--- a/
shell.c
+++ b/
shell.c
@@
-15,7
+15,7
@@
static int do_generic_cmd(const char *me, char *arg)
setup_path();
if (!arg || !(arg = sq_dequote(arg)))
die("bad argument");
- if (
prefixcmp
(me, "git-"))
+ if (
!starts_with
(me, "git-"))
die("bad command");
my_argv[0] = me + 4;