From 852a0e63d294de874c3311f5e7edf40e2f2ecd60 Mon Sep 17 00:00:00 2001 From: scott Chacon Date: Mon, 12 Nov 2007 17:29:39 -0800 Subject: added a bunch of good stuff to the commit object --- README | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'README') 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 -- cgit