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

Re: Fwd: Add git ignore as builtin

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 17, 2014, 21:38 UTC
Message-ID
<xmqq8uj9y0ck.fsf@gitster.dls.corp.google.com>
In-Reply-To
<20141117205957.GB15880@peff.net>
Jeff King <peff@peff.net> writes:
Show 15 quoted lines
> On Mon, Nov 17, 2014 at 12:12:25AM +0000, Ryan Jacobs wrote:
>
>> Alberto Fanjul Alonso <albertofanjul <at> gmail.com> writes:
>> 
>> 
>> > git ignore <whatever> adds <whatever> to .git/info/exclude
>> 
>> This should be "git exclude" not "git ignore".
>> Difference between the two: http://stackoverflow.com/questions/10066749/git-
>> excludes-vs-ignores
>
> I am not sure that the name difference is all that meaningful. Yes, we
> call the repo-wide file .git/info/exclude and the in-tree ones
> .gitignore, but I do not know if the distinction is more than historical
> accident.
It is merely a historical accident.
Previous: Jeff KingNext: Javier Domingo Cansino
Message 4 of 5 in “Fwd: Add git ignore as builtin”
  1. Alberto Fanjul AlonsoNov 15, 2014
  2. Ryan JacobsNov 17, 2014
  3. Jeff KingNov 17, 2014
  4. Junio C HamanoNov 17, 2014
  5. Javier Domingo CansinoNov 23, 2014

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.