summaryrefslogtreecommitdiff
path: root/lib/oxidized/output/git.rb
diff options
context:
space:
mode:
authorMrRJ45 <couton@gmail.com>2015-08-26 10:50:43 +0100
committerMrRJ45 <couton@gmail.com>2015-08-26 10:50:43 +0100
commitb5094b8ac631af127257d3730a6260bf06864b3e (patch)
tree98d64153436fa2208796065630f827d7b80f0297 /lib/oxidized/output/git.rb
parent18cf96b36e54cb52c678e4e6395e595b6f9b4159 (diff)
Add Author and Message
Add Author and Message from a commit to a nodes version list
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