summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2010-12-03 14:50:14 -0500
committerGaetan Nadon <memsize@videotron.ca>2010-12-07 09:47:32 -0500
commit0bfae4149c684391e16b3b80443954691a209dff (patch)
tree517edeedfa264870b8086f73fc3ca22318d2edbc /.gitignore
parent83f64da99332a2ccb1c4641a8a3848ef523d7f58 (diff)
config: .gitignore: template with default values for components #24239
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. Acked-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore97
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 @@
-*.lo
-*.o
-/ChangeLog
-/INSTALL
-Makefile
-Makefile.in
-/aclocal.m4
-/autom4te.cache/
-/config.guess
-/config.log
-/config.status
-/config.sub
-/configure
-/depcomp
-/install-sh
-/libtool
-/ltmain.sh
-/missing
-/stamp-h1
-/xkbcommon.pc
-/ylwrap
+#
+# X.Org module default exclusion patterns
+# The next section if for module specific patterns
+#
+# Do not edit the following section
+# GNU Build System (Autotools)
+aclocal.m4
+autom4te.cache/
+autoscan.log
+ChangeLog
+compile
+config.guess
+config.h
+config.h.in
+config.log
+config-ml.in
+config.py
+config.status
+config.status.lineno
+config.sub
+configure
+configure.scan
+depcomp
.deps/
+INSTALL
+install-sh
.libs/
+libtool
+libtool.m4
+ltmain.sh
+lt~obsolete.m4
+ltoptions.m4
+ltsugar.m4
+ltversion.m4
+Makefile
+Makefile.in
+mdate-sh
+missing
+mkinstalldirs
+*.pc
+py-compile
+stamp-h?
+symlink-tree
+texinfo.tex
+ylwrap
+
+# Do not edit the following section
+# Edit Compile Debug Document Distribute
+*~
+*.[0-9]
+*.[0-9]x
+*.bak
+*.bin
+core
+*.dll
+*.exe
+*-ISO*.bdf
+*-JIS*.bdf
+*-KOI8*.bdf
+*.kld
+*.ko
+*.ko.cmd
+*.lai
+*.l[oa]
+*.[oa]
+*.obj
+*.patch
+*.so
+*.pcf.gz
+*.pdb
+*.tar.bz2
+*.tar.gz
+#
+# Add & Override patterns for libxkbcommon
+#
+# Edit the following section as needed
+# For example, !report.pc overrides *.pc. See 'man gitignore'
+#