summaryrefslogtreecommitdiff
path: root/git-gui/lib/branch.tcl
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2021-02-03 15:59:58 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-02-03 14:14:24 -0800
commitbca362c1f94164f23e1c9b5cf833804d46315cbe (patch)
treea07b55fab90d40e103f5ee5b491866700e278e24 /git-gui/lib/branch.tcl
parentcompletion: treat "branch -D" the same way as "branch -d" (diff)
downloadtgif-bca362c1f94164f23e1c9b5cf833804d46315cbe.tar.xz
completion: handle other variants of "branch -m"
We didn't special-case "branch -M" (with a capital M) the same as "branch -m", nor any of the "--copy" variants. As a result these offered any ref as the next candidate, and not just branch names. Note that I rewrapped case-arm line since it's now quite long, and likewise the one below it for consistency. I also re-ordered the existing "-D" to make it more obvious how the cases group together. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/branch.tcl')
0 files changed, 0 insertions, 0 deletions