1
0
mirror of https://github.com/git/git.git synced 2024-10-19 09:28:35 +02:00

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
This commit is contained in:
Junio C Hamano 2020-09-22 12:36:33 -07:00
commit 31b9454170

@ -1784,6 +1784,10 @@ _git_format_patch ()
" "" "${cur##--thread=}"
return
;;
--base=*|--interdiff=*|--range-diff=*)
__git_complete_refs --cur="${cur#--*=}"
return
;;
--*)
__gitcomp_builtin format-patch "$__git_format_patch_extra_options"
return