Skip to content

Commit

Permalink
Fix bash completion issue with worktrees
Browse files Browse the repository at this point in the history
As reported by Roland Hieber, __git_repo_path shouldn't be remembered.

Fixes #1018
  • Loading branch information
koutcher committed Dec 21, 2020
1 parent aca2481 commit 5071364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/tig-completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ __tig_commands="

__tig_main () {
# parse already existing parameters
local i c=1 command
local i c=1 command __git_repo_path
while [ $c -lt $cword ]; do
i="${words[c]}"
case "$i" in
Expand Down

0 comments on commit 5071364

Please sign in to comment.