From b5094b8ac631af127257d3730a6260bf06864b3e Mon Sep 17 00:00:00 2001 From: MrRJ45 Date: Wed, 26 Aug 2015 10:50:43 +0100 Subject: Add Author and Message Add Author and Message from a commit to a nodes version list --- lib/oxidized/output/git.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1