diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2009-10-19 18:06:19 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2009-10-19 18:06:19 +0200 |
commit | a07cdbae1d485fd715a5b6eca767f211770fea4d (patch) | |
tree | f0ed80c46d74a2904cde87a290f3e9a6be9c3efe /lib/git/repo.py | |
parent | a8f8582274cd6a368a79e569e2995cee7d6ea9f9 (diff) | |
download | gitpython-a07cdbae1d485fd715a5b6eca767f211770fea4d.tar.gz |
Added remote module and test cases - about to implement remote option handling
Diffstat (limited to 'lib/git/repo.py')
-rw-r--r-- | lib/git/repo.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/git/repo.py b/lib/git/repo.py index c53a4d9b..ddbedd0c 100644 --- a/lib/git/repo.py +++ b/lib/git/repo.py @@ -17,6 +17,7 @@ from actor import Actor from refs import * from objects import * from config import GitConfigParser +from remote import Remote class Repo(object): """ @@ -107,6 +108,13 @@ class Repo(object): ``git.Head[]`` """ return Head.list_items(self) + + @property + def remotes(self): + """ + A list of Remote objects allowing to access and manipulate remotes + """ + return Remote.list_items(self) # alias heads branches = heads |