Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
object name: introduce ':/<oneline prefix>' notation
[gitweb.git]
/
builtin-unpack-objects.c
diff --git
a/builtin-unpack-objects.c
b/builtin-unpack-objects.c
index d351e02649401364e7384d0e784901e6f3fcb119..8f8e898516e0ec73fde063ae17d26a26612c5c20 100644
(file)
--- a/
builtin-unpack-objects.c
+++ b/
builtin-unpack-objects.c
@@
-369,7
+369,7
@@
int cmd_unpack_objects(int argc, const char **argv, const char *prefix)
recover = 1;
continue;
}
- if (!
strncmp(arg, "--pack_header=", 14
)) {
+ if (!
prefixcmp(arg, "--pack_header="
)) {
struct pack_header *hdr;
char *c;