Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Allow git-checkout when on a non-existant branch.
[gitweb.git]
/
builtin-prune-packed.c
diff --git
a/builtin-prune-packed.c
b/builtin-prune-packed.c
index d3dd94d9ef7a50e156488ea5e9236d6d55f6e190..960db49859a286bf5f3515ee7c2bfe25fe44d09e 100644
(file)
--- a/
builtin-prune-packed.c
+++ b/
builtin-prune-packed.c
@@
-19,7
+19,7
@@
static void prune_dir(int i, DIR *dir, char *pathname, int len)
memcpy(hex+2, de->d_name, 38);
if (get_sha1_hex(hex, sha1))
continue;
- if (!has_sha1_pack(sha1))
+ if (!has_sha1_pack(sha1
, NULL
))
continue;
memcpy(pathname + len, de->d_name, 38);
if (dryrun)