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)
commit15ba878a1dc4ae929ed121c109a9ff7d35149bea
tree8b2baa8d1b17dd9b39aae1768748f6a4b13fc77f
parent5f836422aba81b5a990ca5251892bfe26ec8125c
parent547d058fb6fefad147675a6d3fdb9439c57916a1
Merge branch 'rs/lock-correct-ref-during-delete'

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
refs.c