Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH]: vcs_info git: Describe detached heads symbolically.



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!



Messages sorted by: Reverse Date, Date, Thread, Author