Skip to content

Commit

Permalink
Add more folders to default ignore set
Browse files Browse the repository at this point in the history
  • Loading branch information
Aydin committed Feb 26, 2015
1 parent e59fea8 commit 179549e
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 23 deletions.
25 changes: 2 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,29 +144,8 @@ up to 14 seconds for me.

In order to combat this, any files which are in a default set of folders, will not be added to the `.gitignore`, instead
only the folder will, this greatly reduces the size of the `.gitignore`. The list of folders which are ignored by default can be
found here:

* app/code/core/Mage
* app/code/core/Zend
* app/code/core/Enterprise
* lib/Zend
* lib/Varien
* lib/Magento
* lib/PEAR
* lib/Mage
* lib/phpseclib
* lib/flex
* lib/LinLibertineFont
* downloader
* js/extjs
* js/prototype
* js/calendar
* js/mage
* js/varien
* js/tiny_mce
* lib/Apache
* app/code/community/Phoenix/Moneybookers

found [here](https://github.com/AydinHassan/magento-core-composer-installer/blob/master/src/Options.php#L24)

If you need to commit files inside these directories then you can override this list by setting the `ignore-directories`
key, noted above. Your list will not be merged, it will be used instead. This is in case you want to remove one of the ignore directories.

Expand Down
63 changes: 63 additions & 0 deletions src/Options.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,69 @@ class Options
'/js/tiny_mce',
'/lib/Apache',
'/app/code/community/Phoenix/Moneybookers',
'/app/design/adminhtml/default/default/template/bundle',
'/app/design/adminhtml/default/default/template/catalog',
'/app/design/adminhtml/default/default/template/customer',
'/app/design/adminhtml/default/default/template/downloadable',
'/app/design/adminhtml/default/default/template/newsletter',
'/app/design/adminhtml/default/default/template/payment',
'/app/design/adminhtml/default/default/template/sales',
'/app/design/adminhtml/default/default/template/system',
'/app/design/adminhtml/default/default/template/widget',
'/app/design/adminhtml/default/default/template/xmlconnect',
'/app/design/frontend/base/default/template/bundle',
'/app/design/frontend/base/default/template/catalog',
'/app/design/frontend/base/default/template/checkout',
'/app/design/frontend/base/default/template/customer',
'/app/design/frontend/base/default/template/downloadable',
'/app/design/frontend/base/default/template/page',
'/app/design/frontend/base/default/template/payment',
'/app/design/frontend/base/default/template/paypal',
'/app/design/frontend/base/default/template/reports',
'/app/design/frontend/base/default/template/sales',
'/app/design/frontend/base/default/template/wishlist',
'/app/design/frontend/default/iphone/template/catalog',
'/app/design/frontend/default/iphone/template/checkout',
'/app/design/frontend/default/iphone/template/page',
'/app/design/frontend/default/iphone/template/sales',
'/app/design/frontend/default/iphone/template/wishlist',
'/app/design/frontend/rwd/default/template/bundle',
'/app/design/frontend/rwd/default/template/catalog',
'/app/design/frontend/rwd/default/template/checkout',
'/app/design/frontend/rwd/default/template/customer',
'/app/design/frontend/rwd/default/template/downloadable',
'/app/design/frontend/base/default/template/cataloginventory',
'/app/design/frontend/base/default/template/catalogsearch',
'/app/design/frontend/base/default/template/pagecache',
'/app/design/frontend/default/iphone/template/catalogsearch',
'/app/design/frontend/rwd/default/template/cataloginventory',
'/app/design/frontend/rwd/default/template/catalogsearch',
'/app/design/frontend/rwd/default/template/configurableswatches',
'/app/design/frontend/rwd/default/template/email',
'/app/design/frontend/rwd/default/template/page',
'/app/design/frontend/rwd/default/template/paypal',
'/app/design/frontend/rwd/default/template/persistent',
'/app/design/frontend/rwd/default/template/reports',
'/app/design/frontend/rwd/default/template/sales',
'/app/design/frontend/rwd/default/template/wishlist',
'/app/design/install/default/default/template/install',
'/skin/adminhtml/default/default/images/xmlconnect',
'/skin/frontend/base/default/images/moneybookers',
'/skin/frontend/rwd/default/scss',
'/app/design/adminhtml/default/default/template/paypal',
'/app/design/adminhtml/default/default/template/permissions',
'/app/design/adminhtml/default/default/template/report',
'/app/design/adminhtml/default/default/template/tax',
'/app/design/frontend/base/default/template/cms',
'/app/design/frontend/base/default/template/email',
'/app/design/frontend/base/default/template/moneybookers',
'/app/design/frontend/base/default/template/oauth',
'/app/design/frontend/base/default/template/review',
'/app/design/frontend/default/modern/template/catalog',
'/skin/adminhtml/default/default/xmlconnect',
'/skin/frontend/base/default/images/cookies',
'/skin/frontend/base/default/images/xmlconnect',
'/app/design/frontend/default/modern/template/catalogsearch'
);

/**
Expand Down

0 comments on commit 179549e

Please sign in to comment.