diff options
author | David Turner <dturner@twopensource.com> | 2016-04-07 21:03:11 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-04-10 20:35:46 +0200 |
commit | 41d796ed5cd78d159f8a8bfa3b54bdbe5d9383a3 (patch) | |
tree | b1159d73e0dd45d1cc0f076a07ae49b488d834da /t/t5542-push-http-shallow.sh | |
parent | refs: move resolve_ref_unsafe into common code (diff) | |
download | git-41d796ed5cd78d159f8a8bfa3b54bdbe5d9383a3.tar.xz git-41d796ed5cd78d159f8a8bfa3b54bdbe5d9383a3.zip |
refs: on symref reflog expire, lock symref not referrent
When locking a symbolic ref to expire a reflog, lock the symbolic
ref (using REF_NODEREF) instead of its referent.
Add a test for this.
Signed-off-by: David Turner <dturner@twopensource.com>
Reviewed-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5542-push-http-shallow.sh')
0 files changed, 0 insertions, 0 deletions