Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
object: convert parse_object* to take struct object_id
[gitweb.git]
/
builtin
/
prune.c
diff --git
a/builtin/prune.c
b/builtin/prune.c
index 96dca7d58a5353783768ec3298d3a9e70ff40a1b..536366056a4dad086e268da6c8dd85456e43be7b 100644
(file)
--- a/
builtin/prune.c
+++ b/
builtin/prune.c
@@
-127,7
+127,8
@@
int cmd_prune(int argc, const char **argv, const char *prefix)
const char *name = *argv++;
if (!get_oid(name, &oid)) {
- struct object *object = parse_object_or_die(oid.hash, name);
+ struct object *object = parse_object_or_die(&oid,
+ name);
add_pending_object(&revs, object, "");
}
else