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

Re: [PATCH 4/9] vcs_info git: set rrn before using it



Marc Finet wrote:
[...]
> diff --git a/Functions/VCS_Info/Backends/VCS_INFO_get_data_git
> b/Functions/VCS_Info/Backends/VCS_INFO_get_data_git index
> 263a325..6231301 100644 ---
> a/Functions/VCS_Info/Backends/VCS_INFO_get_data_git +++
> b/Functions/VCS_Info/Backends/VCS_INFO_get_data_git @@ -115,6 +115,8 @@
> VCS_INFO_git_getbranch () { 
>  gitdir=${vcs_comm[gitdir]}
>  VCS_INFO_git_getbranch ${gitdir}
> +gitbase=$( ${vcs_comm[cmd]} rev-parse --show-toplevel )
> +rrn=${gitbase:t}
>  if zstyle -t ":vcs_info:${vcs}:${usercontext}:${rrn}" get-revision ;
> then gitsha1=$(${vcs_comm[cmd]} rev-parse --quiet --verify HEAD)
[...]

This patch looks like it was mutilated by MUA. Could you resend? Maybe
using "git send-email" or if all else fails, the .patch file attached to
an email?


Regards, Frank



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