Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/pull-rebase-using-fork-point'
[gitweb.git]
/
builtin
/
upload-archive.c
diff --git
a/builtin/upload-archive.c
b/builtin/upload-archive.c
index af2da35e7d05f4de2d7a77a708ee3cf6f490266e..32ab94cd06b43cd05316f9a16981adc883c0d066 100644
(file)
--- a/
builtin/upload-archive.c
+++ b/
builtin/upload-archive.c
@@
-37,7
+37,7
@@
int cmd_upload_archive_writer(int argc, const char **argv, const char *prefix)
if (sent_argv.argc > MAX_ARGS)
die("Too many options (>%d)", MAX_ARGS - 1);
- if (
prefixcmp
(buf, arg_cmd))
+ if (
!starts_with
(buf, arg_cmd))
die("'argument' token or flush expected");
argv_array_push(&sent_argv, buf + strlen(arg_cmd));
}