From 7408f91d31d8b3868c1065a7f4fd4ffcecb4b87e Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Tue, 19 May 2015 10:23:31 +0200 Subject: 35217: completion: git: send-email: complete (recent) commits This adds `__git_commit_objects_prefer_recent` as alternative for git-send-email's completion. --- Completion/Unix/Command/_git | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Completion') 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] )) || -- cgit 1.4.1