mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 22:11:54 +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
|
@ -3,6 +3,9 @@
|
|||
* 31856: Completion/Unix/Command/_git: _git: fix a few
|
||||
"undocumented" options
|
||||
|
||||
* 31855: Completion/Unix/Command/_git: _git: revert: add
|
||||
'-e,--edit'
|
||||
|
||||
2013-10-21 Øystein Walle <oystwa@gmail.com>
|
||||
|
||||
* 31858: Completion/Unix/Command/_git: _git: fix wrong default
|
||||
|
|
|
@ -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…
Reference in a new issue