Skip to content

Commit 042f8bf

Browse files
committed
Merge pull request #840 from jan0sch/SugarCRM
Added the new upload directories and ignore the cache directory completely
2 parents 07e4992 + 1c58091 commit 042f8bf

File tree

1 file changed

+15
-23
lines changed

1 file changed

+15
-23
lines changed

SugarCRM.gitignore

Lines changed: 15 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,25 @@
11
## SugarCRM
22
# Ignore custom .htaccess stuff.
33
/.htaccess
4-
# Ignore large parts of the annoying cache directory without breaking things.
5-
cache/csv/*
6-
cache/dashlets/*
7-
cache/diagnostic/*
8-
cache/dynamic_fields/*
9-
cache/feeds/*
10-
cache/import/*
11-
cache/include/*
12-
cache/jsLanguage/*
13-
cache/modules/*
14-
!cache/modules/emails
15-
!cache/modules/Emails
16-
cache/pdf/*
17-
cache/smarty/cache/*
18-
cache/smarty/templates_c/*
19-
cache/themes/*
20-
cache/xml/*
4+
# Ignore the cache directory completely.
5+
# This will break the current behaviour. Which was often leading to
6+
# the misuse of the repository as backup replacement.
7+
# For development the cache directory can be safely ignored and
8+
# therefore it is ignored.
9+
/cache/
2110
# Ignore some files and directories from the custom directory.
22-
custom/history/*
23-
custom/modulebuilder/*
24-
custom/working/*
25-
custom/modules/*/Ext/
26-
custom/application/Ext/*
11+
/custom/history/
12+
/custom/modulebuilder/
13+
/custom/working/
14+
/custom/modules/*/Ext/
15+
/custom/application/Ext/
2716
# Custom configuration should also be ignored.
2817
/config.php
2918
/config_override.php
3019
# The silent upgrade scripts aren't needed.
31-
silentUpgrade*.php
20+
/silentUpgrade*.php
3221
# Logs files can safely be ignored.
3322
*.log
23+
# Ignore the new upload directories.
24+
/upload/
25+
/upload_backup/

0 commit comments

Comments
 (0)