summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorscott Chacon <schacon@agadorsparticus.corp.reactrix.com>2007-11-12 17:29:39 -0800
committerscott Chacon <schacon@agadorsparticus.corp.reactrix.com>2007-11-12 17:29:39 -0800
commit852a0e63d294de874c3311f5e7edf40e2f2ecd60 (patch)
treeb77a38e91156d5e330246a6111f0ee835c38a80b /README
parentec59c5c7ee9fa3b5831ed0b5f713cee218480ea3 (diff)
downloadthird_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--README13
1 files changed, 13 insertions, 0 deletions
diff --git a/README b/README
index 624707f..36fcba9 100644
--- a/README
+++ b/README
@@ -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