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

Re: Call setup_git_directory() early

From
Junio C Hamano <junkio@cox.net>
Date
Jul 29, 2006, 05:06 UTC
Message-ID
<7vodv9j8yg.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.64.0607282118230.4168@g5.osdl.org>

Sorry for the earlier crapoid. The diffs contained there for t/trash stuff were due to my earlier version that marked init-db to be GITDIR_OPTIONAL -- which caused the "optional" discovery to find the .git/ directory two levels up (relative to t/trash) and contaminating the primary index file by mistake (Yuck).

Your patch makes a lot of sense.
Previous: Junio C HamanoNext: Linus Torvalds
Message 5 of 8 in “Re: log and diff family: honor config even from subdirectories”
  1. Linus TorvaldsJul 29, 2006
  2. Junio C HamanoJul 29, 2006
  3. Call setup_git_directory() earlyLinus Torvalds, Jul 29, 2006
  4. An alternative: call setup_git_directory() earlyJunio C Hamano, Jul 29, 2006
  5. Junio C HamanoJul 29, 2006
  6. Linus TorvaldsJul 29, 2006
  7. Junio C HamanoJul 29, 2006
  8. Linus TorvaldsJul 29, 2006

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.