gitignore: Make paths relative to repository root.

Paths without the leading slash apply to all subdirectories, which especially
means that /tests/data is ignored, making it unnecessarily hard to add test
data.
This commit is contained in:
Andreas Fischer 2013-06-29 16:31:04 +02:00
parent ae48e5b496
commit 4da9eaa4c7
1 changed files with 17 additions and 17 deletions

34
.gitignore vendored
View File

@ -1,24 +1,24 @@
# the default generated dir + db file # the default generated dir + db file
data /data
owncloud /owncloud
config/config.php /config/config.php
config/mount.php /config/mount.php
apps/inc.php /apps/inc.php
# ignore all apps except core ones # ignore all apps except core ones
apps* /apps*
!apps/files !/apps/files
!apps/files_encryption !/apps/files_encryption
!apps/files_external !/apps/files_external
!apps/files_sharing !/apps/files_sharing
!apps/files_trashbin !/apps/files_trashbin
!apps/files_versions !/apps/files_versions
!apps/user_ldap !/apps/user_ldap
!apps/user_webdavauth !/apps/user_webdavauth
# ignore themes except the README # ignore themes except the README
themes/* /themes/*
!themes/README !/themes/README
# just sane ignores # just sane ignores
.*.sw[po] .*.sw[po]
@ -76,7 +76,7 @@ nbproject
/tests/phpunit.xml /tests/phpunit.xml
# Tests - auto-generated files # Tests - auto-generated files
data-autotest /data-autotest
/tests/coverage* /tests/coverage*
/tests/autoconfig* /tests/autoconfig*
/tests/autotest* /tests/autotest*