Hi Alper, On Wed, 2 Sep 2020 at 16:21, Alper Nebi Yasak <[email protected]> wrote: > > On 02/09/2020 20:07, Simon Glass wrote: > > It looks like that version of git was not in Ubuntu 14.04 but appeared > > in 16.04. I've just done some patches to make patman work in 14.04, so > > I'd prefer to keep buildman working for that also. > > I'll keep that in mind. Looks like Ubuntu 14.04 has python v3.4 and git > v1.9. I'm used to more recent versions so maybe I'll take the time to > set up a VM to test things in. > > > So I think we should have an option to keep the old behaviour, or > > perhaps detect when 'git worktree' is not available and fall back. > > I can check whether 'git worktree list' succeeds, it should have no > effect on the repo but would give a 'not a git command' error if things > wouldn't work; in which case buildman could fall back to cloning. I'll > implement and send a v2 with something like that.
OK thanks. If it helps, on 14.04: $ git worktree git: 'worktree' is not a git command. See 'git --help'. echo $? 1 Regards, Simon

