bash: complete more options for 'git rebase'
Complete all long options for 'git rebase' except --no-verify (probably used very seldom) and the long options corresponding to -v, -q, and -f. Signed-off-by: Björn Gustavsson <bgustavsson@gmail.com> Acked-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
3c1ca01528
commit
93cf50a412
@ -1323,8 +1323,18 @@ _git_rebase ()
|
||||
fi
|
||||
__git_complete_strategy && return
|
||||
case "$cur" in
|
||||
--whitespace=*)
|
||||
__gitcomp "$__git_whitespacelist" "" "${cur##--whitespace=}"
|
||||
return
|
||||
;;
|
||||
--*)
|
||||
__gitcomp "--onto --merge --strategy --interactive"
|
||||
__gitcomp "
|
||||
--onto --merge --strategy --interactive
|
||||
--preserve-merges --stat --no-stat
|
||||
--committer-date-is-author-date --ignore-date
|
||||
--ignore-whitespace --whitespace=
|
||||
"
|
||||
|
||||
return
|
||||
esac
|
||||
__gitcomp "$(__git_refs)"
|
||||
|
Loading…
Reference in New Issue
Block a user