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

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

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
May 15, 2010, 21:22 UTC
Message-ID
<1273958566-7328-1-git-send-email-avarab@gmail.com>

Change Git's own .gitignore so that patches produced with git format-patch don't show up as untracked.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
---
 .gitignore |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
index dbf1b90..039d99c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -203,3 +203,4 @@
 *.pdb
 /Debug/
 /Release/
+[0-9][0-9][0-9][0-9]-*.patch
-- 
1.7.1.84.gd92f8
Next: Pavan Kumar Sunkara
Message 1 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.