Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-svn: reintroduce using a single get_log() to fetch
[gitweb.git]
/
builtin-write-tree.c
diff --git
a/builtin-write-tree.c
b/builtin-write-tree.c
index 50670dc7bf46c74e95b2e204d05afc077350a19f..90fc1cfcf40d057cd654edd1454f56cd823efd66 100644
(file)
--- a/
builtin-write-tree.c
+++ b/
builtin-write-tree.c
@@
-70,7
+70,7
@@
int cmd_write_tree(int argc, const char **argv, const char *unused_prefix)
const char *arg = argv[1];
if (!strcmp(arg, "--missing-ok"))
missing_ok = 1;
- else if (!
strncmp(arg, "--prefix=", 9
))
+ else if (!
prefixcmp(arg, "--prefix="
))
prefix = arg + 9;
else
usage(write_tree_usage);