From 38f009d6d0aa35b13d19575611db1c724a9d1a5b Mon Sep 17 00:00:00 2001 From: scott Chacon Date: Tue, 13 Nov 2007 07:36:50 -0800 Subject: updated a bunch of the documentation --- doc/classes/Git/Object/Commit.html | 241 +++++++++++++++++++++++++++++++++++-- 1 file changed, 231 insertions(+), 10 deletions(-) (limited to 'doc/classes/Git/Object/Commit.html') diff --git a/doc/classes/Git/Object/Commit.html b/doc/classes/Git/Object/Commit.html index 2f1e595..3be4f27 100644 --- a/doc/classes/Git/Object/Commit.html +++ b/doc/classes/Git/Object/Commit.html @@ -88,7 +88,16 @@

Methods

- setup   + author   + author_date   + committer   + committer_date   + date   + diff_parent   + gtree   + message   + parent   + parents  
@@ -110,23 +119,235 @@

Public Instance methods

-
- +
+
+

+git author +

[Source]

-
+ onclick="toggleCode('M000130-source');return false;">[Source]

+
-# File lib/git/object.rb, line 66
-      def setup
-        @type = 'commit'
+# File lib/git/object.rb, line 143
+      def author     
+        check_commit
+        @author
+      end
+
+
+
+
+ +
+ + + + +
+

[Source]

+
+
+# File lib/git/object.rb, line 148
+      def author_date
+        author.date
+      end
+
+
+
+
+ +
+ + + + +
+

+git author +

+

[Source]

+
+
+# File lib/git/object.rb, line 153
+      def committer
+        check_commit
+        @committer
+      end
+
+
+
+
+ +
+ + + + +
+

[Source]

+
+
+# File lib/git/object.rb, line 158
+      def committer_date 
+        committer.date
+      end
+
+
+
+
+ +
+ + +
+ date() +
+ +
+

+Alias for committer_date +

+
+
+ +
+ + + + +
+

[Source]

+
+
+# File lib/git/object.rb, line 163
+      def diff_parent
+        diff(parent)
+      end
+
+
+
+
+ +
+ + + + +
+

[Source]

+
+
+# File lib/git/object.rb, line 127
+      def gtree
+        check_commit
+        Tree.new(@base, @tree)
+      end
+
+
+
+
+ +
+ + + + +
+

[Source]

+
+
+# File lib/git/object.rb, line 122
+      def message
+        check_commit
+        @message
+      end
+
+
+
+
+ +
+ + + + +
+

[Source]

+
+
+# File lib/git/object.rb, line 132
+      def parent
+        parents.first
+      end
+
+
+
+
+ +
+ + + + +
+

+array of all parent commits +

+

[Source]

+
+
+# File lib/git/object.rb, line 137
+      def parents
+        check_commit
+        @parents        
       end
 
-- cgit