From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9640 invoked by alias); 6 May 2014 12:26:46 -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: 32598 Received: (qmail 13271 invoked from network); 6 May 2014 12:26:42 -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.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=date:from:to:cc:subject:message-id :references:mime-version:content-type:in-reply-to; s=mesmtp; bh= HmbIVU5fbKqYQrq7Km/rww5qx6g=; b=3Gl0eGozLNqBeNfqSF6fyqFdRUFTwKjD f+2sYAokrEC1LSdQ71icFZ6BwlafXWxUDCulqXrjncc0lj6kFmRucchRUrb92HNg ibi92rJzjtYyeDDV/xU7m/Z9NQ+rSV7kgNhaSr1UBjJTeYLpYSSPdnXZELKWmCYx sdU8RzvAL6c= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:to:cc:subject:message-id :references:mime-version:content-type:in-reply-to; s=smtpout; bh=HmbIVU5fbKqYQrq7Km/rww5qx6g=; b=EHjpqdF+F8reupJvbGFPZn3/r/ap 6zeJL5NilTfSyGUjcG4LLZ7AcCFNJdvAl07QjJ5YnpRZL5dtHUd827ePxN06XdQK l9HNxlCiayFxZv2CbpmCPx1Pti+1GvDVHAWYbozPxxpLOYRIrJnO0Iyg4/dtmP5c GKosmvvzlvXqR44= X-Sasl-enc: cwCHjkSc5hcCbAvV3N55CDf5cwEeVt06u2hFiNQ+8FmJ 1399379199 Date: Tue, 6 May 2014 12:26:35 +0000 From: Daniel Shahaf To: Frank Terbeck Cc: zsh-workers@zsh.org Subject: Re: [PATCH]: vcs_info git: Describe detached heads symbolically. Message-ID: <20140506122635.GD1948@tarsus.local2> References: <20140506120521.GC1948@tarsus.local2> <87zjivt7u9.fsf@ft.bewatermyfriend.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87zjivt7u9.fsf@ft.bewatermyfriend.org> User-Agent: Mutt/1.5.21 (2010-09-15) Frank Terbeck wrote on Tue, May 06, 2014 at 14:22:38 +0200: > Daniel Shahaf wrote: > [...] > > With this patch: > > > > master ccc840470aa9 > > % git checkout $(git rev-parse HEAD) > > > > heads/master ccc840470aa9 > > % > [...] > > - gitbranch="refs/tags/$(${vcs_comm[cmd]} describe --exact-match HEAD 2>/dev/null)" > > + gitbranch="refs/tags/$(${vcs_comm[cmd]} describe --all --exact-match HEAD 2>/dev/null)" > [...] > > That sounds reasonable, so it's applied. Thanks! That was quick, thanks!