# File lib/compass/version.rb, line 41 def revision_from_git if File.exists?(scope('.git/HEAD')) Dir.chdir scope(".") do `git rev-parse HEAD` end end end