Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t9107-git-svn-migrate.sh: use the $( ... ) construct for command substitution
[gitweb.git]
/
builtin
/
receive-pack.c
diff --git
a/builtin/receive-pack.c
b/builtin/receive-pack.c
index f06f70a75f4926d7573e3b1d8f06dbe385e10fdc..ca38131873aad1c5dd5b8001aceb39ed906b3c2d 100644
(file)
--- a/
builtin/receive-pack.c
+++ b/
builtin/receive-pack.c
@@
-246,7
+246,7
@@
static void show_one_alternate_sha1(const unsigned char sha1[20], void *unused)
static void collect_one_alternate_ref(const struct ref *ref, void *data)
{
struct sha1_array *sa = data;
- sha1_array_append(sa, ref->old_
sha1
);
+ sha1_array_append(sa, ref->old_
oid.hash
);
}
static void write_head_info(void)