Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
completion: cleanup zsh wrapper
[gitweb.git]
/
transport-helper.c
diff --git
a/transport-helper.c
b/transport-helper.c
index 5f8d075ed8c18b198e956bf10d6647598f565597..835815f61d7cfe12b32b13d92241830af858f8f4 100644
(file)
--- a/
transport-helper.c
+++ b/
transport-helper.c
@@
-806,6
+806,7
@@
static int push_refs_with_export(struct transport *transport,
if (private && !get_sha1(private, sha1)) {
strbuf_addf(&buf, "^%s", private);
string_list_append(&revlist_args, strbuf_detach(&buf, NULL));
+ hashcpy(ref->old_sha1, sha1);
}
free(private);