Re: [PATCH 2/2] Fix failure to delete a packed ref through a symref

2012-10-21 Thread Junio C Hamano
Johan Herland writes: > When deleting a ref through a symref (e.g. using 'git update-ref -d HEAD' > to delete refs/heads/master), we would remove the loose ref, but a packed > version of the same ref would remain, the end result being that instead of > deleting refs/heads/master we would appear t

Re: [PATCH 2/2] Fix failure to delete a packed ref through a symref

2012-10-21 Thread René Scharfe
Am 21.10.2012 12:40, schrieb Johan Herland: When deleting a ref through a symref (e.g. using 'git update-ref -d HEAD' to delete refs/heads/master), we would remove the loose ref, but a packed version of the same ref would remain, the end result being that instead of deleting refs/heads/master we

[PATCH 2/2] Fix failure to delete a packed ref through a symref

2012-10-21 Thread Johan Herland
When deleting a ref through a symref (e.g. using 'git update-ref -d HEAD' to delete refs/heads/master), we would remove the loose ref, but a packed version of the same ref would remain, the end result being that instead of deleting refs/heads/master we would appear to reset it to its state as of th