Subject: Re: [PATCH 2/2] doc: git-worktree: Add side by side branch checkout example

From: Junio C Hamano <[email-masked]>
Date: Thu, 02 Oct 2025 11:47:14 -0700

"Kristoffer Haugsbakk" <[email-masked]> writes:

> This works for me.  But why not this?
>
>     git clone --bare <repo> some-repository
>     cd some-repository
>     git worktree add some-branch
>     git worktree add another-branch

Do you mean "some-repository/config" is the local configuration
file, next to it there are "some-branch" and "another-branch"
directories, and you have to have some way to tell that, among
direct subdirectories of "some-repository/", "some-branch/" is a
worktree while refs/ is not?

No thanks ;-).