From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13520 invoked by alias); 19 May 2015 08:25:02 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 35217 Received: (qmail 10388 invoked from network); 19 May 2015 08:25:00 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thequod.de; h= x-mailer:message-id:date:date:subject:subject:from:from:received :received:received; s=postfix2; t=1432023899; bh=48qxCBbaATpXJh8 YNKX0kfgnEOSmutzYj1ycjMr4FBM=; b=NhB7CrjuZkK9JY2BptfGgjUN1DO8sLc xSc7huLLGdcSRIFe0FFIIYjecsZWB1Z/GsKclTFHr79YaqhUGyFGhX990BpEM1H3 Yr9Q1nItcOU1rNRclMvujXPZaC5g0NZLCqOHnkQiOVkybSU6OyvDMWPnRQog1J+c Vy1Ssd+fJdRs= From: Daniel Hahler To: zsh-workers@zsh.org Subject: [PATCH] completion: git: send-email: complete (recent) commits Date: Tue, 19 May 2015 10:24:49 +0200 Message-Id: <1432023889-13887-1-git-send-email-genml+zsh-workers@thequod.de> X-Mailer: git-send-email 2.4.0.dirty From: Daniel Hahler 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(-) diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index fb9cae1..b31b694 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] )) || -- 2.4.0.dirty