Re: What is the reason behind not hiding git worktrees from git?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 2, 2025, 13:33 UTC
- Message-ID
- <xmqqseg1xwc1.fsf@gitster.g>
- In-Reply-To
- <aN46GP7-yUfXB_lL@kitsune.suse.cz>
Michal Suchánek <msuchanek@suse.de> writes:
Show 19 quoted lines
> On Wed, Oct 01, 2025 at 03:27:03PM -0700, Junio C Hamano wrote: >> Eric Sunshine <sunshine@sunshineco.com> writes: >> >> > skip over them when scanning the output. Moreover, I think this is the >> > first time that we have (on the list, at least) heard a complaint >> > about the "noise", which may suggest that this is a non-issue for most >> > people, and that a warning telling people to avoid the practice would >> > be unwelcome. >> >> Ah, different people guess different reasons out of the same >> observation. My interpretation of this is the first time about the >> complaint on "noise" was because everybody else would not even have >> additional worktree in-tree. > > I suppose a suggestion about not adding worktree in-tree in the add > command description would be helpful to avoid the problem. > > That's the part I would read if I wanted to learn about adding > worktrees, and it has none of those examples you mention.
Yeah, care to throw a patch or two at the documentation to help our users and us?
Thanks.