summaryrefslogtreecommitdiff
path: root/contrib/git-shell-commands
diff options
context:
space:
mode:
authorLibravatar René Scharfe <rene.scharfe@lsrfire.ath.cx>2012-10-18 14:05:17 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-10-18 14:36:16 -0700
commit566c7707db4eb18a116659b08d6ff7ad79fcfefd (patch)
tree1be45a8788e1c07c3f8843364e17c33b92a964ba /contrib/git-shell-commands
parentbranch: factor out delete_branch_config() (diff)
downloadtgif-566c7707db4eb18a116659b08d6ff7ad79fcfefd.tar.xz
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>
Diffstat (limited to 'contrib/git-shell-commands')
0 files changed, 0 insertions, 0 deletions