Skip to content

Commit 31b9454

Browse files
committed
Merge branch 'dl/complete-format-patch-recent-features'
Update to command line completion (in contrib/) * dl/complete-format-patch-recent-features: contrib/completion: complete options that take refs for format-patch
2 parents 39149df + 93ab00b commit 31b9454

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

contrib/completion/git-completion.bash

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1784,6 +1784,10 @@ _git_format_patch ()
17841784
" "" "${cur##--thread=}"
17851785
return
17861786
;;
1787+
--base=*|--interdiff=*|--range-diff=*)
1788+
__git_complete_refs --cur="${cur#--*=}"
1789+
return
1790+
;;
17871791
--*)
17881792
__gitcomp_builtin format-patch "$__git_format_patch_extra_options"
17891793
return

0 commit comments

Comments
 (0)