Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH]: vcs_info git: Describe detached heads symbolically.
- X-seq: zsh-workers 32599
- From: Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>
- To: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- Subject: Re: [PATCH]: vcs_info git: Describe detached heads symbolically.
- Date: Tue, 06 May 2014 14:22:38 +0200
- Cc: zsh-workers@xxxxxxx
- In-reply-to: <20140506120521.GC1948@tarsus.local2> (Daniel Shahaf's message of "Tue, 6 May 2014 12:05:21 +0000")
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20140506120521.GC1948@tarsus.local2>
Hey Daniel,
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!
Regards, Frank
Messages sorted by:
Reverse Date,
Date,
Thread,
Author