Permalink
Browse files

when checking out a different branch, use -f to make sure all local c…

…hanges are discarded (usful for gemfile changes)
  • Loading branch information...
joshk committed Feb 14, 2011
1 parent 4c7eddb commit c3f0e335bc700a615be58eba5727f275cb7c180f
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/travis/buildable.rb
View
@@ -49,7 +49,7 @@ def fetch
end
def checkout
- execute "git checkout -q #{commit}" if commit
+ execute "git checkout -qf #{commit}" if commit
end
def install

0 comments on commit c3f0e33

Please sign in to comment.