From: René Scharfe Date: Thu, 18 Oct 2012 12:05:17 +0000 (+0200) Subject: branch: delete symref branch, not its target X-Git-Tag: v1.8.0.1~18^2~2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/566c7707db4eb18a116659b08d6ff7ad79fcfefd?hp=566c7707db4eb18a116659b08d6ff7ad79fcfefd 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 Signed-off-by: Junio C Hamano ---