Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
get_remote_heads: convert to struct object_id
[gitweb.git]
/
walker.c
diff --git
a/walker.c
b/walker.c
index cdeb63f319abc088fe54e4291ed765900d16f1fd..ce2f57abe79a68539b8c48e3c024d7826ad34417 100644
(file)
--- a/
walker.c
+++ b/
walker.c
@@
-190,7
+190,7
@@
static int interpret_target(struct walker *walker, char *target, unsigned char *
if (!check_refname_format(target, 0)) {
struct ref *ref = alloc_ref(target);
if (!walker->fetch_ref(walker, ref)) {
- hashcpy(sha1, ref->old_
sha1
);
+ hashcpy(sha1, ref->old_
oid.hash
);
free(ref);
return 0;
}