Merge branch 'rs/lock-correct-ref-during-delete'
authorJeff King <peff@peff.net>
Fri, 9 Nov 2012 17:42:28 +0000 (12:42 -0500)
committerJeff King <peff@peff.net>
Fri, 9 Nov 2012 17:42:28 +0000 (12:42 -0500)
When "update-ref -d --no-deref SYM" tried to delete a symbolic ref
SYM, it incorrectly locked the underlying reference pointed by SYM,
not the symbolic ref itself.

* rs/lock-correct-ref-during-delete:
  refs: lock symref that is to be deleted, not its target

1  2 
refs.c

diff --cc refs.c
Simple merge