summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2017-12-18 03:52:37 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2017-12-20 04:13:39 +0000
commita254c1815aac155108f8729ed7929e42f6f2c8b0 (patch)
treea7a9883ccb6eda3cf233d532b29be4f3719de59d /Completion
parenta9e60dc1794dadaae6d73a1de3f5cf8418336771 (diff)
downloadzsh-a254c1815aac155108f8729ed7929e42f6f2c8b0.tar.gz
zsh-a254c1815aac155108f8729ed7929e42f6f2c8b0.tar.xz
zsh-a254c1815aac155108f8729ed7929e42f6f2c8b0.zip
42138: _git-revert: Complete recent commits first.
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Command/_git2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 9ee2eba76..8e3b0eb3d 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -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] )) ||