[PATCH libxkbcommon 5/6] config: .gitignore: template with default values for components #24239

Gaetan Nadon memsize at videotron.ca
Fri Dec 3 12:40:21 PST 2010

This toplevel .gitignore covers all possible generated files
from autotools, compiler, linker, etc...

It has been in use for over a year in all xorg modules and has
prevented a good number of patches.

For example, in this module, src/stamp-h1 was not ignored even
if the .gitignore had just been updated. Files with a .patch
extension were not ignored which sometimes cause a patch to be
checked-in git accidentally.

Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
 .gitignore |   97 +++++++++++++++++++++++++++++++++++++++++++++++-------------
 1 files changed, 76 insertions(+), 21 deletions(-)

diff --git a/.gitignore b/.gitignore
index 9f41f50..72c4a0b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,23 +1,78 @@
+#		X.Org module default exclusion patterns
+#		The next section if for module specific patterns
+#	Do not edit the following section
+# 	GNU Build System (Autotools)
+#	Do not edit the following section
+# 	Edit Compile Debug Document Distribute
+#		Add & Override patterns for libxkbcommon
+#		Edit the following section as needed
+# For example, !report.pc overrides *.pc. See 'man gitignore'

More information about the xorg-devel mailing list