config: .gitignore: template with default values for components #24239
authorGaetan Nadon <memsize@videotron.ca>
Fri, 3 Dec 2010 19:50:14 +0000 (14:50 -0500)
committerGaetan Nadon <memsize@videotron.ca>
Tue, 7 Dec 2010 14:47:32 +0000 (09:47 -0500)
commit0bfae4149c684391e16b3b80443954691a209dff
tree517edeedfa264870b8086f73fc3ca22318d2edbc
parent83f64da99332a2ccb1c4641a8a3848ef523d7f58
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>
.gitignore