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

Re: is there a truly compelling rationale for .git/info/exclude?

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Oct 12, 2017, 23:18 UTC
Message-ID
<alpine.DEB.2.21.1.1710130116430.40514@virtualbox>
In-Reply-To
<alpine.LFD.2.21.1710061337300.14079@localhost.localdomain>
Hi Robert,

[who I had to cull from the To:/Cc: headers, as my mailer consistently told me that there is no valid DNS record to route mail to rpjday@crashcourse.ca, which *is* weird.]

On Fri, 6 Oct 2017, Robert P. J. Day wrote:
Show 10 quoted lines
> On Fri, 6 Oct 2017, Junio C Hamano wrote:
> 
> > Don't waste time by seeking a "compelling" reason.  A mere "this is
> > the most expedite way to gain convenience" back when something was
> > introduced could be an answer, and it is way too late to complain
> > about such a choice anyway.
> 
>   perfectly respectable answer ... it tells me that, between .gitignore
>   files and core.excludesFile, there's not much left for
>   .git/info/exclude to do, except in weird circumstances.

I use .git/info/exclude to keep worktrees in subdirectories of the "main" worktree.

That's not really weird. It's just something few people do, but that's not the same as "weird".

Ciao, Johannes

Previous: brian m. carlsonNext: Jeff King
Message 6 of 10 in “is there a truly compelling rationale for .git/info/exclude?”
  1. rpjday@crashcourse.caOct 6, 2017
  2. Junio C HamanoOct 6, 2017
  3. Robert P. J. DayOct 6, 2017
  4. Jonathan NiederOct 6, 2017
  5. brian m. carlsonOct 7, 2017
  6. Johannes SchindelinOct 12, 2017
  7. Jeff KingOct 12, 2017
  8. Robert P. J. DayOct 13, 2017
  9. Kaartic SivaraamOct 6, 2017
  10. Steinar BangOct 8, 2017

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.