git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] gitignore: add top level patch ignore rule
@ 2011-07-19 22:17 Vitaliy Ivanov
  2011-07-20  8:09 ` Michael J Gruber
  0 siblings, 1 reply; 8+ messages in thread
From: Vitaliy Ivanov @ 2011-07-19 22:17 UTC (permalink / raw)
  To: Junio C Hamano, Git List; +Cc: Vitaliy Ivanov

Add top level ignore rule for patches created by format-patch command.
On the way, reorganize ignore rules and add comments.

Signed-off-by: Vitaliy Ivanov <vitalivanov@gmail.com>
---
 .gitignore |   43 ++++++++++++++++++++++++++++++-------------
 1 files changed, 30 insertions(+), 13 deletions(-)

diff --git a/.gitignore b/.gitignore
index 8572c8c..47afe77 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,15 @@
+#
+# NOTE! Don't add files that are generated in specific
+# subdirectories here. Add them in the ".gitignore" file
+# in that subdirectory instead.
+#
+# NOTE! Please use 'git ls-files -i --exclude-standard'
+# command after changing this file, to see if there are
+# any tracked files which get ignored after the change.
+
+#
+# Top-level files
+#
 /GIT-BUILD-OPTIONS
 /GIT-CFLAGS
 /GIT-LDFLAGS
@@ -187,21 +199,10 @@
 /test-svn-fe
 /test-treap
 /common-cmds.h
-*.tar.gz
-*.dsc
-*.deb
 /git.spec
-*.exe
-*.[aos]
-*.py[co]
-.depend/
-*.gcda
-*.gcno
-*.gcov
 /coverage-untested-functions
 /cover_db/
 /cover_db_html/
-*+
 /config.mak
 /autom4te.cache
 /config.cache
@@ -213,6 +214,24 @@
 /tags
 /TAGS
 /cscope*
+/Debug/
+/Release/
+/*.patch
+
+#
+# Normal rules
+#
+*.tar.gz
+*.dsc
+*.deb
+*.exe
+*.[aos]
+*.py[co]
+.depend/
+*.gcda
+*.gcno
+*.gcov
+*+
 *.obj
 *.lib
 *.sln
@@ -222,5 +241,3 @@
 *.user
 *.idb
 *.pdb
-/Debug/
-/Release/
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-07-22 13:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-19 22:17 [PATCH] gitignore: add top level patch ignore rule Vitaliy Ivanov
2011-07-20  8:09 ` Michael J Gruber
2011-07-21 12:54   ` Vitaliy Ivanov
2011-07-21 13:02     ` Michael J Gruber
2011-07-21 13:22       ` Vitaliy Ivanov
2011-07-21 13:29         ` Michael J Gruber
2011-07-21 14:50         ` Marc Branchaud
2011-07-22 13:20           ` Vitaliy Ivanov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).