diff options
Diffstat (limited to 'transport-helper.c')
-rw-r--r-- | transport-helper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/transport-helper.c b/transport-helper.c index 3fc43b97f..56207eae2 100644 --- a/transport-helper.c +++ b/transport-helper.c @@ -801,6 +801,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); |