diff options
author | Ákos Uzonyi <uzonyi.akos@gmail.com> | 2020-09-25 23:11:23 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-09-26 15:30:03 -0700 |
commit | c09d1280f7787020e28844e8fd615d973d2a811e (patch) | |
tree | d2fa7c37770682522a491790b9335ad382cc39e6 /notes.h | |
parent | Seventeenth batch (diff) | |
download | tgif-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 'notes.h')
0 files changed, 0 insertions, 0 deletions