Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
pack-objects: protect against disappearing packs
[gitweb.git]
/
sha1_file.c
diff --git
a/sha1_file.c
b/sha1_file.c
index e002056b85ce89c089dd09c1300461d60d81dffa..133aa4fe701b9e091079fbe86be05ab71c54cbdc 100644
(file)
--- a/
sha1_file.c
+++ b/
sha1_file.c
@@
-1984,7
+1984,7
@@
off_t find_pack_entry_one(const unsigned char *sha1,
return 0;
}
-
static
int is_pack_valid(struct packed_git *p)
+int is_pack_valid(struct packed_git *p)
{
/* An already open pack is known to be valid. */
if (p->pack_fd != -1)