diff options
author | MrRJ45 <couton@gmail.com> | 2015-08-26 10:50:43 +0100 |
---|---|---|
committer | MrRJ45 <couton@gmail.com> | 2015-08-26 10:50:43 +0100 |
commit | b5094b8ac631af127257d3730a6260bf06864b3e (patch) | |
tree | 98d64153436fa2208796065630f827d7b80f0297 | |
parent | 18cf96b36e54cb52c678e4e6395e595b6f9b4159 (diff) |
Add Author and Message
Add Author and Message from a commit to a nodes version list
-rw-r--r-- | lib/oxidized/output/git.rb | 4 |
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 |