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

Re: What's cooking in git.git (Oct 2011, #05; Fri, 14)

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 16, 2011, 17:17 UTC
Message-ID
<7vvcrorh49.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20111016165329.GA14226@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 15 quoted lines
> On Fri, Oct 14, 2011 at 04:23:21PM -0700, Junio C Hamano wrote:
>
>> * jk/pull-rebase-with-work-tree (2011-10-13) 1 commit
>>  - pull,rebase: handle GIT_WORK_TREE better
>> 
>> Looked reasonable.
>> Will merge to 'next'.
>
> I'm not so sure. Didn't you demonstrate that cd_to_toplevel as-is will
> not actually go to the toplevel if we're outside of the work tree?
>
> And changing it is non-trivial, because there may be weird cases that
> rely on staying there? See my final note in the thread:
>
>   http://article.gmane.org/gmane.comp.version-control.git/183519

Hmm, I might be mistaken, but my impression was that sane people do not do so, that the discussion that originated this proposed patch was not such a use case, and most importantly that fixing unsane ones is just the matter for them to set GIT_WORKING_TREE correctly. So if anything, wouldn't getting this in as early as possible to 'master' or at least 'next' help catching a flaw in the above logic and possible downside in the real world?

Show 8 quoted lines
>> * jk/daemon-msgs (2011-10-14) 1 commit
>>  - daemon: give friendlier error messages to clients
>> 
>> Will merge to 'next'.
>
> I'm happy to tweak the "access denied" message if other people want. I
> kind of hoped it wouldn't matter, and that most sites would use
> --informative-errors.
I've already updated it with the "not exported" bit from Sitaram.
Thanks.
Previous: Jeff KingNext: Jeff King
Message 3 of 6 in “What's cooking in git.git (Oct 2011, #05; Fri, 14)”
  1. Junio C HamanoOct 14, 2011
  2. Jeff KingOct 16, 2011
  3. Junio C HamanoOct 16, 2011
  4. Jeff KingOct 16, 2011
  5. Jeff KingOct 17, 2011
  6. Junio C HamanoOct 17, 2011

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.