Permalink
Browse files

respect .gitignore when checking for dirty dir

  • Loading branch information...
1 parent 9bae158 commit b719f0eeb55bd0be9858ea958f10149ddab43412 @jaked committed May 5, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 bin/scala-bootstrapper
@@ -71,8 +71,8 @@ if git
sys('git co -b scala-bootstrapper')
else
- if `git ls-files -mdo` != ''
- abort('uncommitted files in directory')
+ if `git status -s` != ''
+ abort('uncommitted files in directory.')
end
$branch = `git branch`.grep(/^\*/).first.chomp.gsub(/^\* (.+)$/, '\1')

0 comments on commit b719f0e

Please sign in to comment.