1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-06-01 12:56:04 +02:00

42138: _git-revert: Complete recent commits first.

This commit is contained in:
Daniel Shahaf 2017-12-18 03:52:37 +00:00
parent a9e60dc179
commit a254c1815a
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2017-12-20 Daniel Shahaf <d.s@daniel.shahaf.name>
* 42138: Completion/Unix/Command/_git: _git-revert: Complete
recent commits first.
* Stephane (rebased by Mikael): users/13148, workers/42060:
Src/exec.c: Abort the command line when replying "[n] No" to
the RM_STAR_SILENT prompt.

View File

@ -1515,7 +1515,7 @@ _git-revert () {
'*'{-X,--strategy-option=}'[pass merge-strategy-specific option to merge strategy]:option' \
'(-S --gpg-sign --no-gpg-sign)'{-S-,--gpg-sign=-}'[GPG-sign the commit]::key id' \
"(-S --gpg-sign --no-gpg-sign)--no-gpg-sign[don't GPG-sign the commit]" \
': :__git_commits'
': :__git_recent_commits'
}
(( $+functions[_git-rm] )) ||