diff options
author | 2020-09-22 12:36:33 -0700 | |
---|---|---|
committer | 2020-09-22 12:36:33 -0700 | |
commit | 31b94541708af19bc5083b24ba176081b4e8a130 (patch) | |
tree | 69141bbeec1ecc105b0db749b03f32530e2a302d | |
parent | Merge branch 'cs/don-t-pretend-a-failed-remote-set-head-succeeded' (diff) | |
parent | contrib/completion: complete options that take refs for format-patch (diff) | |
download | tgif-31b94541708af19bc5083b24ba176081b4e8a130.tar.xz |
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
-rw-r--r-- | contrib/completion/git-completion.bash | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 9147fba3d5..8be4a0316e 100644 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -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 |