diff options
author | scott Chacon <schacon@agadorsparticus.corp.reactrix.com> | 2007-11-12 17:29:39 -0800 |
---|---|---|
committer | scott Chacon <schacon@agadorsparticus.corp.reactrix.com> | 2007-11-12 17:29:39 -0800 |
commit | 852a0e63d294de874c3311f5e7edf40e2f2ecd60 (patch) | |
tree | b77a38e91156d5e330246a6111f0ee835c38a80b /README | |
parent | ec59c5c7ee9fa3b5831ed0b5f713cee218480ea3 (diff) | |
download | third_party-ruby-git-852a0e63d294de874c3311f5e7edf40e2f2ecd60.tar.gz third_party-ruby-git-852a0e63d294de874c3311f5e7edf40e2f2ecd60.tar.xz third_party-ruby-git-852a0e63d294de874c3311f5e7edf40e2f2ecd60.zip |
added a bunch of good stuff to the commit object
Diffstat (limited to 'README')
-rw-r--r-- | README | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -55,6 +55,19 @@ Here are the operations that need read permission only. g.gblob(treeish) g.gcommit(treeish) + + commit = g.gcommit('1cc8667014381') + commit.gtree + commit.parent.sha + commit.parents.size + commit.author.name + commit.author.email + commit.author.date.strftime("%m-%d-%y") + commit.committer.name + commit.date.strftime("%m-%d-%y") + commit.message + + g.revparse('v2.5:Makefile') g.branches # returns Git::Branch objects |