зеркало из https://github.com/microsoft/git.git
Merge branch 'jk/complete-commit-c' into maint
* jk/complete-commit-c: completion: complete refs for "git commit -c"
This commit is contained in:
Коммит
dca93d2b01
|
@ -971,6 +971,13 @@ _git_commit ()
|
|||
{
|
||||
__git_has_doubledash && return
|
||||
|
||||
case "$prev" in
|
||||
-c|-C)
|
||||
__gitcomp_nl "$(__git_refs)" "" "${cur}"
|
||||
return
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$cur" in
|
||||
--cleanup=*)
|
||||
__gitcomp "default strip verbatim whitespace
|
||||
|
|
Загрузка…
Ссылка в новой задаче