1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-26 04:30:27 +01:00

34886: completion: git: Complete rebase --exec argument

This commit is contained in:
Daniel Shahaf 2015-04-13 21:00:28 +00:00
parent 7793ebcb71
commit 122bb9a125
2 changed files with 4 additions and 1 deletions

View file

@ -1335,7 +1335,7 @@ _git-rebase () {
'(-i --interactive --ignore-whitespace --whitespace --committer-date-is-author-date)'{-i,--interactive}'[make a list of commits to be rebased and open in $EDITOR]' \
'--edit-todo[edit interactive instruction sheet in an editor]' \
'(-p --preserve-merges --interactive)'{-p,--preserve-merges}'[try to recreate merges instead of ignoring them]' \
{-x,--exec=}'[with -i\: append "exec <cmd>" after each line]:command' \
{-x,--exec=}'[with -i\: append "exec <cmd>" after each line]:command:_command_names -e' \
'(1)--root[rebase all reachable commits]' \
$autosquash_opts \
'(--autostash --no-autostash)--autostash[stash uncommitted changes before rebasing and apply them afterwards]' \