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

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



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