Permalink
Browse files

don't print git errors

  • Loading branch information...
1 parent a638911 commit ba15033e3d4aff76a1bbd791a28aa88e8602dddd @levity committed Oct 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/e20/ops/revision.rb
View
@@ -23,7 +23,7 @@ def to_s
private
def revision_from_git
- @revision_from_git ||= `git rev-parse HEAD`.strip
+ @revision_from_git ||= `git rev-parse HEAD 2>/dev/null`.strip
end
def revision_file

0 comments on commit ba15033

Please sign in to comment.