We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1bfe76e + f54ba57 commit c9f188eCopy full SHA for c9f188e
app/helpers/application_helper.rb
@@ -72,7 +72,7 @@ def self.source_code_version_raw
72
m = s.match(/^Revision: (\d+)/s)
73
return " - SVN revision: #{m[1]}"
74
elsif File.directory?(Rails.root.join(".git"))
75
- s = `git log -1 2>&1`
+ s = `git log -1 --format=medium 2>&1`
76
m = s.match(/^Date: (.+?)$/s)
77
return " - Git timestamp: #{m[1]}"
78
elsif File.directory?(Rails.root.join(".hg"))
0 commit comments