Restrict some .gitignore patterns to the root of the working tree

This is necessary so files with similar names which are actually
versioned and important aren't matched by these patterns, otherwise
only intended to match build output files.
This commit is contained in:
Ignacio R. Morelle 2013-08-17 19:47:41 -04:00
parent 8b3aba7ccb
commit 6e69dd15fb

20
.gitignore vendored
View file

@ -4,8 +4,6 @@
revision.h
*.swp
.DS_Store
wesnoth
wesnothd
make_translation
merge_translations
Makefile
@ -45,20 +43,16 @@ Lib
*.exe
*.dll
*.txt
wesnothd*
build
test*
!src/test*
wesnoth*
campaignd*
cutter*
exploder*
!data/tools/wesnoth
/wesnothd*
/test*
/wesnoth*
/campaignd*
/cutter*
/exploder*
/build/
locales
.kdev_include_paths
.kdev4
!po/wesnoth*
!po/wesnoth*/wesnoth*.pot
#cmake/Linux/CodeBlocks:
Project.cbp
Project.layout