diff options
author | ytti <saku@ytti.fi> | 2015-08-26 16:54:44 +0300 |
---|---|---|
committer | ytti <saku@ytti.fi> | 2015-08-26 16:54:44 +0300 |
commit | a0cd3304e16a428e10203c47d14b780f327503ab (patch) | |
tree | 98d64153436fa2208796065630f827d7b80f0297 /lib/oxidized/output/git.rb | |
parent | 18cf96b36e54cb52c678e4e6395e595b6f9b4159 (diff) | |
parent | b5094b8ac631af127257d3730a6260bf06864b3e (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.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 |