Skip to content

Commit aef8e71

Browse files
committed
Merge branch 'nd/complete-fetch-multiple-args'
Teach bash completion that "git fetch --multiple" only takes remote names as arguments and no refspecs. * nd/complete-fetch-multiple-args: completion: support "git fetch --multiple"
2 parents a4b8ab5 + b5619f6 commit aef8e71

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contrib/completion/git-completion.bash

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -943,6 +943,7 @@ __git_complete_remote_or_refspec ()
943943
*) ;;
944944
esac
945945
;;
946+
--multiple) no_complete_refspec=1; break ;;
946947
-*) ;;
947948
*) remote="$i"; break ;;
948949
esac

0 commit comments

Comments
 (0)