Junio C Hamano kirjoitti: > Junio C Hamano <gitster@xxxxxxxxx> writes: > > I think "update-ref -d" should remove the ref without dereferencing > > anyway. How about not doing your patch at all (you would need to > > manually remove the symref in "prune" codepath as well), and > > instead doing this? > > > > I do not know how this reacts when the tracked HEAD points at a ref > > that lexicographically sorts earlier, say branch "A". > > And it turns out it does not react very well. You would want to do > something like this on top of that one. This turned out to be much more complicated than just deleting a file. Thank you, these patches seem to work (at least from user's point of view). -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html