Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

don't print git errors

  • Loading branch information...
commit ba15033e3d4aff76a1bbd791a28aa88e8602dddd 1 parent a638911
@levity authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/e20/ops/revision.rb
View
2  lib/e20/ops/revision.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.