commit | 566c7707db4eb18a116659b08d6ff7ad79fcfefd | [log] [tgz] |
---|---|---|
author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | Thu Oct 18 14:05:17 2012 +0200 |
committer | Junio C Hamano <gitster@pobox.com> | Thu Oct 18 14:36:16 2012 -0700 |
tree | 1be45a8788e1c07c3f8843364e17c33b92a964ba | |
parent | 22ed79275360a3dbb480e2c510a94c4b817afad2 [diff] |
branch: delete symref branch, not its target If a branch that is to be deleted happens to be a symref to another branch, the current code removes the targeted branch instead of the one it was called for. Change this surprising behaviour and delete the symref branch instead. Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>