Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
am: improve author-script error reporting
[gitweb.git]
/
builtin
/
prune.c
diff --git
a/builtin/prune.c
b/builtin/prune.c
index 89f9d8155a6d233b199c75579ab3d2b274bfaeea..4916a4daa264ee695dbfbde81dbd8ef0072ac9c4 100644
(file)
--- a/
builtin/prune.c
+++ b/
builtin/prune.c
@@
-40,7
+40,7
@@
static int prune_object(const struct object_id *oid, const char *fullpath,
* Do we know about this object?
* It must have been reachable
*/
- if (lookup_object(oid->hash))
+ if (lookup_object(
the_repository,
oid->hash))
return 0;
if (lstat(fullpath, &st)) {