Merge pull request #840 from jan0sch/SugarCRM

Added the new upload directories and ignore the cache directory completely
This commit is contained in:
Adam Roben 2014-01-06 19:12:22 -08:00
commit 042f8bf538

View File

@ -1,33 +1,25 @@
## 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.
cache/csv/* # This will break the current behaviour. Which was often leading to
cache/dashlets/* # the misuse of the repository as backup replacement.
cache/diagnostic/* # For development the cache directory can be safely ignored and
cache/dynamic_fields/* # therefore it is ignored.
cache/feeds/* /cache/
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/