1
0
mirror of https://github.com/github/gitignore synced 2024-11-25 21:24:23 +01:00

Added the new upload directories and ignore the cache directory completely.

With SugarCRM 6.4 the `cache/upload` directory moved to `upload` and
`upload_backup`. These directories can safely be ignored.

Additionally the `cache` directory is now ignored completely because it
leads to the behaviour to use the git repository as a kind of backup
tool if several parts of it are included. Furthermore the directory
structure beneath `cache` is victim of enduring changes by the
developers.

I did also some code cleanup regarding the path names e.g. adding a `/`
before most file and directory names.
This commit is contained in:
Jens Jahnke 2013-11-12 09:37:03 +01:00
parent 727777af2d
commit ff6fa231f9

View File

@ -1,33 +1,21 @@
## SugarCRM ## SugarCRM
# Ignore custom .htaccess stuff. # Ignore custom .htaccess stuff.
/.htaccess /.htaccess
# Ignore large parts of the annoying cache directory without breaking things. # Ignore the cache directory completely. ATTENTION! This will break things!
cache/csv/* /cache/*
cache/dashlets/*
cache/diagnostic/*
cache/dynamic_fields/*
cache/feeds/*
cache/import/*
cache/include/*
cache/jsLanguage/*
cache/modules/*
!cache/modules/emails
!cache/modules/Emails
cache/pdf/*
cache/smarty/cache/*
cache/smarty/templates_c/*
cache/themes/*
cache/xml/*
# Ignore some files and directories from the custom directory. # Ignore some files and directories from the custom directory.
custom/history/* /custom/history/*
custom/modulebuilder/* /custom/modulebuilder/*
custom/working/* /custom/working/*
custom/modules/*/Ext/ /custom/modules/*/Ext/
custom/application/Ext/* /custom/application/Ext/*
# Custom configuration should also be ignored. # Custom configuration should also be ignored.
/config.php /config.php
/config_override.php /config_override.php
# The silent upgrade scripts aren't needed. # The silent upgrade scripts aren't needed.
silentUpgrade*.php /silentUpgrade*.php
# Logs files can safely be ignored. # Logs files can safely be ignored.
*.log *.log
# Ignore the new upload directories.
/upload/*
/upload_backup/*