git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 4/8] Add a function to set a non-default work tree

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 22, 2008, 00:09 UTC
Message-ID
<7v3apeagxj.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<alpine.LNX.1.00.0804201546340.19665@iabervon.org>
Daniel Barkalow <barkalow@iabervon.org> writes:
Show 9 quoted lines
> On Sat, 19 Apr 2008, Junio C Hamano wrote:
> ...
>> How should the setting of new work tree from sideways using this interface
>> interact with bareness of the repository?
>
> I'm only using it before any initialization and when I'm going to force 
> the repository (which doesn't even exist yet; I haven't set git_dir let 
> alone created it, let alone looked at its configuration) to be bare, so I 
> hadn't considered that.

That is not quite an explanation that builds confidence in a patch that adds a generic-sounding helper function that could be called by later callers. Doesn't it have a very tempting name for people to call?

Previous: Daniel BarkalowNext: Daniel Barkalow
Message 5 of 6 in “Add a function to set a non-default work tree”
  1. 4/8 Add a function to set a non-default work treeDaniel Barkalow, Apr 17, 2008
  2. Johan HerlandApr 19, 2008
  3. Junio C HamanoApr 20, 2008
  4. Daniel BarkalowApr 20, 2008
  5. Junio C HamanoApr 22, 2008
  6. Daniel BarkalowApr 22, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.