This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 6ccfc0ebdedb53794c4981521c4299d842caf896
tree 99f74faf76accb3426a55b4fab708508960e423d
parent cf32baf915442ffe153ec0e4d8148f147776c30a
tree 99f74faf76accb3426a55b4fab708508960e423d
parent cf32baf915442ffe153ec0e4d8148f147776c30a
- railties/test/fixtures/lib/generators/missing_class/templates/.empty
- railties/test/fixtures/lib/generators/missing_generator/templates/.empty
- railties/test/fixtures/lib/generators/missing_templates/.empty
- railties/test/fixtures/plugins/alternate/a/lib/.empty
- railties/test/fixtures/plugins/alternate/a/lib/a.rb
- railties/test/fixtures/plugins/default/acts/acts_as_chunky_bacon/lib/.empty
- railties/test/fixtures/plugins/default/acts/acts_as_chunky_bacon/lib/acts_as_chunky_bacon.rb
- railties/test/fixtures/plugins/default/empty/.empty
- railties/test/fixtures/plugins/default/empty/README












why not use .gitignore files instead?
git doesn’t track empty folders, we need to put a dummy file there so the tests pass.
it’s common to put a empty .gitignore file in empty folders, think than was his point
Yeah, just rename .empty to .gitignore, it’s a good practice.
I heard using .gitignore was standard practice and have been doing it as well. It makes sense to me, because it lets you know the reason the files are there.
Gotcha!
to add .gitignore files to all empty directories recursively from your current directory find . \( -type d -empty \) -and \( -not -regex ./\.git.* \) -exec touch {}/.gitignore \;
Nice trick, nate!