summaryrefslogtreecommitdiff
path: root/t/t7008-filter-branch-null-sha1.sh
diff options
context:
space:
mode:
authorLibravatar Ákos Uzonyi <uzonyi.akos@gmail.com>2020-09-25 23:11:23 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-09-26 15:30:03 -0700
commitc09d1280f7787020e28844e8fd615d973d2a811e (patch)
treed2fa7c37770682522a491790b9335ad382cc39e6 /t/t7008-filter-branch-null-sha1.sh
parentSeventeenth batch (diff)
downloadtgif-c09d1280f7787020e28844e8fd615d973d2a811e.tar.xz
completion: use "prev" variable instead of introducing "prevword"
In both _git_checkout and _git_switch a new "prevword" variable were introduced, however the "prev" variable already contains the last word. The "prevword" variable is replaced with "prev", and the case is moved to the beginning of the function, like it's done in many other places (e.g. _git_commit). Also the indentaion of the case is fixed. Signed-off-by: Ákos Uzonyi <uzonyi.akos@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7008-filter-branch-null-sha1.sh')
0 files changed, 0 insertions, 0 deletions