Browse files

Correct the refactoring of the build_heroku script

Remove the unnecessary `git rm` invocation (as `git add -u` will have
already staged the removal of all deleted, tracked files) and add back
the `git add` (necessary to pick up newly added, not-yet-tracked files).

Fixes regression introduced in commit 9050047.
  • Loading branch information...
Greg Hurrell
Greg Hurrell committed Mar 20, 2012
1 parent 9050047 commit 42ba28120f62f03408461072c38e3a98cffbb615
Showing with 1 addition and 1 deletion.
  1. +1 −1 build_heroku
@@ -4,5 +4,5 @@ bundle exec rake assets:clean
echo "Precompile..."
bundle exec rake assets:precompile
echo "git..."
+git add public/assets
git add -u public/assets
-git rm $(git diff --diff-filter=D --name-only)

0 comments on commit 42ba281

Please sign in to comment.