summaryrefslogtreecommitdiff
path: root/lib/oxidized/output/git.rb
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2015-08-26 16:54:44 +0300
committerytti <saku@ytti.fi>2015-08-26 16:54:44 +0300
commita0cd3304e16a428e10203c47d14b780f327503ab (patch)
tree98d64153436fa2208796065630f827d7b80f0297 /lib/oxidized/output/git.rb
parent18cf96b36e54cb52c678e4e6395e595b6f9b4159 (diff)
parentb5094b8ac631af127257d3730a6260bf06864b3e (diff)
Merge pull request #166 from MrRJ45/patch-6
Add Author and Message
Diffstat (limited to 'lib/oxidized/output/git.rb')
-rw-r--r--lib/oxidized/output/git.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/oxidized/output/git.rb b/lib/oxidized/output/git.rb
index b1212f1..81be162 100644
--- a/lib/oxidized/output/git.rb
+++ b/lib/oxidized/output/git.rb
@@ -80,6 +80,8 @@ class Git < Output
hash = {}
hash[:date] = commit.time.to_s
hash[:oid] = commit.oid
+ hash[:author] = commit.author
+ hash[:message] = commit.message
tab[i += 1] = hash
end
end
@@ -185,4 +187,4 @@ class Git < Output
end
end
end
-end \ No newline at end of file
+end