Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH 2/3] vcs_info/cvs: set vcs_comm[basedir] in VCS_INFO_detect_cvs
- X-seq: zsh-workers 44959
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: Aleksandr Mezin <mezin.alexander@xxxxxxxxx>
- Subject: Re: [PATCH 2/3] vcs_info/cvs: set vcs_comm[basedir] in VCS_INFO_detect_cvs
- Date: Fri, 29 Nov 2019 20:52:36 +0000
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=date:from:to:cc:subject:message-id :references:mime-version:content-type:content-transfer-encoding :in-reply-to; s=fm1; bh=WJH1U+9Gy0p6P0NL3BIMp1blM2cHXilaRyi2xora Qx4=; b=rKNW6/Ldu3NypZHx8y/laEsCLFKbpi/fiiDdpvIbgVETzs99BVPwN8eb gY6VZ9qKmOdJPh+UmA581CJKcEuQ3iNRdEQT4StheT/o4Wg1GGOWR+a+k4i0UvCK f3TL1QyT0+9+FXzKkw1noWlqCVL6eLwatyBNU25eQU95Gvn/cGfVNmDb+xtHYgqE pXukEFG9B/zqxbYAOObh2Ihy3ulSQvU/pJ6erdNEbeRM9ikSHXrr0EunFAHaaMFC TMEF3I9sbf8rwZHD+TFqIH1BN429tMB0ziayDsTU7ynhBpXb7SDPWIdwTBetVt74 MbUqWJ1Vh/phSWu/vlU5/0/lENiIiw==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=WJH1U+9Gy0p6P0NL3BIMp1blM2cHXilaRyi2xoraQ x4=; b=j4lMfoFOX1dAatrVLZ4+EEGGo5jmkVxem1dO6xZ2ialofcQk3EuFrhE1o sxn4r7esDWc9XQCP7VL/PZVckZc+bvbd4mZTgfT224qTGQVkVX5ywD8HACRfyAqs zaY8IVHAVinfvJxyZ9xPKdym8idYWG4l4qSDHadmyP0T4UBVoWJvDfbKCBrJiLWg UP1hbP8Cn4MU2iIL6s8qajq8YNjxBqvkRY30TduUnDa51UdGNa26KxvkdZg9DJod MdHfIry/i0XODECB/nstiz7FdtBd+hmFiI5cUZdGL01gAJu+02g8SdoDmLzNsXSf +BWvOXlVu6EZT5KnaWumDMNf4QqXg==
- In-reply-to: <20191129203052.fpzwna5jv5i5tqu3@tarpaulin.shahaf.local2>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CADnvcfJsh2zvSDNoCknSxXv3PGsYG9dK5-WGGYoMLQx9aDKdKQ@mail.gmail.com> <e4246cb5-863e-4628-beca-4698ab057480@www.fastmail.com> <CADnvcfKx-FCfKWaP3DgMZ12qoVMH1voQvtR333NnggHJq1P+KA@mail.gmail.com> <CADnvcfL1nxLdL_fXpP1YDCgRHyrMvzT8VjwKr_77d8=znCv88A@mail.gmail.com> <9438ca11-d0be-4c67-a5b3-a0b900342302@www.fastmail.com> <CADnvcfJaApTgWv8yTwwHDnNJq3uQ9U2VJMwbRpMgcsuoxVAzYw@mail.gmail.com> <5edaa985-4ac9-411c-b4c2-415c49a563e3@www.fastmail.com> <20191128213430.53b5akiq43l7bzbx@tarpaulin.shahaf.local2> <CADnvcfJUZZcCtj_nFs=F8ctRF2FWy2=oRBOB9szLF4aWeFFeXg@mail.gmail.com> <20191129203052.fpzwna5jv5i5tqu3@tarpaulin.shahaf.local2>
Daniel Shahaf wrote on Fri, Nov 29, 2019 at 20:30:52 +0000:
> In the meantime, the first two patches in this series can be applied,
> can't they? Or were you planning to revise and resubmit the CVS one to
> address the (preëxisting) infinite loop? The first two patches should
> cause no behaviour change, I assume, other than making $hook_com[basedir]
> available to hooks earlier. Actually, should we document $hook_com[basedir]
> in the manual?
Never mind, I misread the code: it's $vcs_comm[basedir], not
$hook_com[basedir]. The former is only used for communicating between
a VCS_INFO_detect_${vcs} function that uses VCS_INFO_bydir_detect and the
corresponding VCS_INFO_get_data_${vcs} function.
Incidentally, VCS_INFO_detect_cvs should probably use VCS_INFO_bydir_detect.
Cheers,
Daniel
Messages sorted by:
Reverse Date,
Date,
Thread,
Author