git and Magento

Tech Notes

We were trying to track our Magento installs in git. I'd noticed that our source project contained more files than the clone diff -rq [source] [clone] | grep -v git Turns out that Magento has a lot of empty directories around. Easy way to fix that find . -type d -empty -exec touch {}/.gitignore \; via