mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-23 04:30:24 +02:00
31855: _git: revert: add '-e,--edit'
This commit is contained in:
parent
2c1affc6c1
commit
7a37568b8c
2 changed files with 5 additions and 1 deletions
|
@ -1320,8 +1320,9 @@ _git-revert () {
|
|||
'(- :)--quit[end revert or cherry-pick sequence]' \
|
||||
'(- :)--continue[resume revert or cherry-pick sequence]' \
|
||||
'(- :)--abort[cancel revert or cherry-pick sequence]' \
|
||||
'(-e --edit --no-edit)'{-e,--edit}'[edit the commit before committing the revert]' \
|
||||
'(-e --edit --no-edit)--no-edit[do not edit the commit message before committing the revert]' \
|
||||
'(-m --mainline)'{-m+,--mainline=}'[pick which parent is mainline]:parent number' \
|
||||
'(-e --edit)--no-edit[do not edit the commit message]' \
|
||||
'(-n --no-commit)'{-n,--no-commit}'[do not commit the reversion]' \
|
||||
'(-s --signoff)'{-s,--signoff}'[add Signed-off-by line at the end of the commit message]' \
|
||||
': :__git_commits'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue