Permalink
Browse files

Quotes in GitRepo#reset_hard! for consistency with the other bang met…

…hods.
  • Loading branch information...
1 parent 86475fd commit 48d11573cac47912e606496240bc238e73027c8c @benhoskings committed Nov 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/babushka/git_repo.rb
View
@@ -263,7 +263,7 @@ def detach! ref = 'HEAD'
# Reset the repo to the given ref, discarding changes in the index and
# working copy.
def reset_hard! ref = 'HEAD'
- repo_shell("git reset --hard #{ref}")
+ repo_shell("git reset --hard '#{ref}'")
end
def inspect

0 comments on commit 48d1157

Please sign in to comment.