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

Re: What's in git.git (stable)

From
Shawn Pearce <spearce@spearce.org>
Date
Dec 14, 2006, 22:44 UTC
Message-ID
<20061214224421.GD26202@spearce.org>
In-Reply-To
<7v1wn243mu.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> wrote:
Show 5 quoted lines
> Maybe a check to say if $GIT_DIR is ".git" or ends with "/.git"
> then enable it and otherwise honor the configuration variable,
> without changing the default in the code (with your patch) nor
> in the default configuration ("enable for new repositories" as I
> suggested) might be a workable compromise.

See my latest patch. Though that patch also sets the value in the config file, much as core.filemode is also set in the config file, based on the guess determined by init-db at the time it was executed.

Previous: Junio C Hamano
Message 9 of 9 in “Re: What's in git.git (stable)”
  1. Junio C HamanoDec 14, 2006
  2. Enable reflogs by default in any repository with a working directory.Shawn O. Pearce, Dec 14, 2006
  3. J. Bruce FieldsDec 14, 2006
  4. Shawn PearceDec 14, 2006
  5. J. Bruce FieldsDec 14, 2006
  6. Johannes SchindelinDec 15, 2006
  7. Shawn PearceDec 15, 2006
  8. Junio C HamanoDec 15, 2006
  9. Shawn PearceDec 14, 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.