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

Re: [PATCH] Add git format-patch produced patches to .gitignore

From
Jonathan Nieder <jrnieder@gmail.com>
Date
May 17, 2010, 01:35 UTC
Message-ID
<20100517013549.GA19081@progeny.tock>
In-Reply-To
<4BEFFBB5.7010808@drmicha.warpmail.net>
Michael J Gruber wrote:
> Does the git build process call format-patch? No! The .gitignore we
> distribute is meant for things the build process creates

Ah, true. I seem to remember a thread long ago about whether to include editor droppings in .gitignore, but I can’t find it in the git or lkml archive.

git’s .gitignore does not include .*.swp, \#*#, *~, indeed.
>> +[0-9][0-9][0-9][0-9]-*.patch

So nack from me as well. It is nice that the .gitignore file we track does not have to change with fashions, and this way each user can set up a personal excludesfile according to choice of tools without interference.

Maybe there should be a reasonable "default" .gitexcludes file in gitignore.5 as an example, but that is a different topic[1].

Thanks for the reminder, Jonathan

[1] http://thread.gmane.org/gmane.comp.version-control.git/96220/focus=96289
Previous: Michael J GruberNext: Ævar Arnfjörð Bjarmason
Message 6 of 9 in “Add git format-patch produced patches to .gitignore”
  1. Add git format-patch produced patches to .gitignoreÆvar Arnfjörð Bjarmason, May 15, 2010
  2. Pavan Kumar SunkaraMay 16, 2010
  3. Jonathan NiederMay 16, 2010
  4. Ævar Arnfjörð BjarmasonMay 16, 2010
  5. Michael J GruberMay 16, 2010
  6. Jonathan NiederMay 17, 2010
  7. Remove editor-specific droppings from .gitignoreÆvar Arnfjörð Bjarmason, May 17, 2010
  8. Jonathan NiederMay 17, 2010
  9. Michael J GruberMay 17, 2010

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.