Re: [PATCH 2/2] setup: don't fail if commondir is deleted.

2019-02-18 Thread Michal Suchánek
On Sun, 17 Feb 2019 02:14:14 -0500 Eric Sunshine wrote: > On Fri, Feb 15, 2019 at 1:16 PM Michal Suchanek wrote: > > When adding wotktrees git can die in get_common_dir_noenv while > > examining existing worktrees because the commondir file does not exist. > > Handle ENOENT so adding a worktree

Re: [PATCH 2/2] setup: don't fail if commondir is deleted.

2019-02-16 Thread Eric Sunshine
On Fri, Feb 15, 2019 at 1:16 PM Michal Suchanek wrote: > When adding wotktrees git can die in get_common_dir_noenv while > examining existing worktrees because the commondir file does not exist. > Handle ENOENT so adding a worktree does not fail because of incompletely > set-up other worktree. > >

[PATCH 2/2] setup: don't fail if commondir is deleted.

2019-02-15 Thread Michal Suchanek
When adding wotktrees git can die in get_common_dir_noenv while examining existing worktrees because the commondir file does not exist. Handle ENOENT so adding a worktree does not fail because of incompletely set-up other worktree. Signed-off-by: Michal Suchanek --- setup.c | 33