From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15059 invoked by alias); 3 May 2015 01:40:16 -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: 35017 Received: (qmail 6272 invoked from network); 3 May 2015 01:40:15 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) 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 version=3.3.2 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=1430617214; bh=oy7PltPCHC1ruTz r8UbC2V0WS+3ZQhDYnArTZpStTvQ=; b=kjupUdSpdYSqOzs49UwJJ91Hn9OX+52 N2fP9g18vzLCKq8a06l8sdf+37rSr/fyNi/VaZ4oXbvzXca7dDMsqFfYE1VVbYvs b0UMDs5y/W/yZZrtK2u43KUnSE5Y1f5fpnbtKgQfeqZgXRJkS4chNAWC3Z1+0Ypv gMKIdjV7EXQI= From: Daniel Hahler To: zsh-workers@zsh.org Subject: [PATCH] completion: git: use `--pretty=format:%gd` with `stash list` Date: Sun, 3 May 2015 03:40:12 +0200 Message-Id: <1430617212-22526-1-git-send-email-genml+zsh-workers@thequod.de> X-Mailer: git-send-email 2.4.0.dirty From: Daniel Hahler This appears to be available since a while: commit 8f8f5476cd6542387d435c242752404cf144005f Author: Thomas Rast Date: Mon Oct 19 17:48:10 2009 +0200 Introduce new pretty formats %g[sdD] for reflog information --- Completion/Unix/Command/_git | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index c01333b..5df01f7 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -5532,7 +5532,7 @@ __git_stashes () { local expl declare -a stashes - stashes=(${${(f)"$(_call_program stashes git stash list 2>/dev/null)"}/: */}) + stashes=(${(f)"$(_call_program stashes git stash list --pretty=format:%gd 2>/dev/null)"}) __git_command_successful $pipestatus || return 1 _wanted stashes expl stash compadd "$@" -a - stashes -- 2.4.0.dirty