Skip to content

Commit

Permalink
github #119: fix completion for git bisect visualize
Browse files Browse the repository at this point in the history
When trying to use the completion for git bisect visualize one currently
is greeted with the curious error of something like this:

    git bisect visualize _git-bisect:89: command not found: arch

While in this case 'arch' is the name of the first folder in the
directory. The cause for this is a missing separation of switch cases
which we fix by inserting the needed ";;".

Signed-off-by: Christian Heusel <christian@heusel.eu>
  • Loading branch information
christian-heusel committed May 25, 2024
1 parent 9dcaf78 commit 833dbc2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Completion/Unix/Command/_git
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ _git-bisect () {
_arguments -C -s \
$log_options \
$revision_options && ret=0
;;
(*)
_nothing
;;
Expand Down

0 comments on commit 833dbc2

Please sign in to comment.