On Thu, Feb 15, 2018 at 4:27 PM, Eric Sunshine wrote:
> On Thu, Feb 15, 2018 at 12:52:11PM -0800, Junio C Hamano wrote:
>> This seems to segfault on me, without leaving hook.actual anywhere.
>
> I'm unable to reproduce the segfault, but I'm guessing it's because
> I'm a dummy. Can you squash in th
Eric Sunshine writes:
> I'm a dummy. Can you squash in the following and retry?
I haven't tried, but that does look like the right thing to do,
whether it is the root cause of the fault I am seeing.
Thanks.
>
> --- >8 ---
> diff --git a/builtin/worktree.c b/builtin/worktree.c
> index 604a0292b
On Thu, Feb 15, 2018 at 12:52:11PM -0800, Junio C Hamano wrote:
> Eric Sunshine writes:
> > test_expect_success '"add" invokes post-checkout hook (branch)' '
> > post_checkout_hook &&
> > - printf "%s %s 1\n" $_z40 $(git rev-parse HEAD) >hook.expect &&
> > + {
> > + echo $_z40 $
Eric Sunshine writes:
> test_expect_success '"add" invokes post-checkout hook (branch)' '
> post_checkout_hook &&
> - printf "%s %s 1\n" $_z40 $(git rev-parse HEAD) >hook.expect &&
> + {
> + echo $_z40 $(git rev-parse HEAD) 1 &&
> + echo $(pwd)/.git/worktree
4 matches
Mail list logo