Nathan Sidwell nathan@acm.org
Mon Jan 13 17:20:00 GMT 2020

On 1/13/20 10:58 AM, Andreas Schwab wrote:
> On Jan 13 2020, Jason Merrill wrote:
>> On Mon, Jan 13, 2020 at 10:29 AM Nathan Sidwell <nathan@acm.org> wrote:
>>> If I drop 'master' from the command I get:
>>>   >git worktree add ../../error/src
>>> Preparing ../../error/src (identifier src1)
>>> * what does 'identifier src1' mean, and what did that do?
>> It created a branch src1 based on your current HEAD for the new worktree to
>> track.
> Actually, Nathan is using a older version of git where this isn't true,
> I think git worktree add used to just create a detached head here.  If
> you used a current version, it would have said "(new branch 'src')" (not
> 'src1'), with the branch named after the basename of the worktree
> directory.

oh, right.  my dev server is centos 7, so that was git 2.17.1  (perhaps 
I should add git to my enclave of modernity)

thanks for the hand-holding, guys!


Nathan Sidwell

More information about the Gcc mailing list