git-commit-vandalism/refs
David Turner 41d796ed5c 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>
2016-04-10 11:35:46 -07:00
..
files-backend.c refs: on symref reflog expire, lock symref not referrent 2016-04-10 11:35:46 -07:00
refs-internal.h refs: move resolve_ref_unsafe into common code 2016-04-10 11:35:41 -07:00