diff options
author | Daniel Hahler <git@thequod.de> | 2015-05-19 10:23:31 +0200 |
---|---|---|
committer | Daniel Hahler <git@thequod.de> | 2015-05-19 10:28:51 +0200 |
commit | 7408f91d31d8b3868c1065a7f4fd4ffcecb4b87e (patch) | |
tree | 5847643fa66e20696e4ad6639a66ec96c2885a0c /Completion/Unix/Command | |
parent | 8f6823b710dc69f2fad5d1a0158b3ba8b74840e3 (diff) | |
download | zsh-7408f91d31d8b3868c1065a7f4fd4ffcecb4b87e.tar.gz zsh-7408f91d31d8b3868c1065a7f4fd4ffcecb4b87e.tar.xz zsh-7408f91d31d8b3868c1065a7f4fd4ffcecb4b87e.zip |
35217: completion: git: send-email: complete (recent) commits
This adds `__git_commit_objects_prefer_recent` as alternative for git-send-email's completion.
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r-- | Completion/Unix/Command/_git | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index fb9cae1b6..b31b694a6 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -3732,7 +3732,9 @@ _git-send-email () { '( --no-validate)--validate[perform sanity checks on patches]' \ '(--validate )--no-validate[do not perform sanity checks on patches]' \ '--force[send emails even if safety checks would prevent it]' \ - '*: :_files' + '*: : _alternative + "files:file:_files" + "commits:recent commit object name:__git_commit_objects_prefer_recent"' } (( $+functions[_git-svn] )) || |