diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2009-10-12 17:03:01 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2009-10-12 17:10:33 +0200 |
commit | 4c73e9cd66c77934f8a262b0c1bab9c2f15449ba (patch) | |
tree | fc132d15729e8d5e3abbc5fcf80f28b5ab9fe118 /lib/git/objects/commit.py | |
parent | 637eadce54ca8bbe536bcf7c570c025e28e47129 (diff) | |
download | gitpython-4c73e9cd66c77934f8a262b0c1bab9c2f15449ba.tar.gz |
refs now take repo as first argument and derive from LazyMixin to allow them to dynamically retrieve their objects
Improved way commits are returned by refs as they now use the path to be sure they always point to the ref even if it changes - previously it would use the sha intead so it would not update after being cached on the ref object
Diffstat (limited to 'lib/git/objects/commit.py')
-rw-r--r-- | lib/git/objects/commit.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/git/objects/commit.py b/lib/git/objects/commit.py index c3e97bf9..f1f878d7 100644 --- a/lib/git/objects/commit.py +++ b/lib/git/objects/commit.py @@ -37,7 +37,7 @@ class Commit(base.Object): The parameter documentation indicates the type of the argument after a colon ':'. ``id`` - is the sha id of the commit + is the sha id of the commit or a ref ``parents`` : tuple( Commit, ... ) is a tuple of commit ids or actual Commits |