add --force-with-lease completion for git push (#4368)

(cherry picked from commit 72244dee5b)
This commit is contained in:
Benjamin Reitzammer 2017-08-31 04:59:49 +02:00 committed by David Adam
parent 6368bebf12
commit 7d46c78082

View file

@ -746,6 +746,7 @@ complete -f -c git -n '__fish_git_using_command push' -l tags -d 'Push all refs
complete -f -c git -n '__fish_git_using_command push' -s n -l dry-run -d 'Do everything except actually send the updates'
complete -f -c git -n '__fish_git_using_command push' -l porcelain -d 'Produce machine-readable output'
complete -f -c git -n '__fish_git_using_command push' -s f -l force -d 'Force update of remote refs'
complete -f -c git -n '__fish_git_using_command push' -s f -l force-with-lease -d 'Force update of remote refs, stopping if other\'s changes would be overwritten'
complete -f -c git -n '__fish_git_using_command push' -s u -l set-upstream -d 'Add upstream (tracking) reference'
complete -f -c git -n '__fish_git_using_command push' -s q -l quiet -d 'Be quiet'
complete -f -c git -n '__fish_git_using_command push' -s v -l verbose -d 'Be verbose'