diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2010-06-18 16:20:27 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2010-06-18 16:20:27 +0200 |
commit | b82dbf538ac0d03968a0f5b7e2318891abefafaa (patch) | |
tree | 3ee7f95497cba4bdfc19c65e5677f7b0489affb8 /lib/git/repo.py | |
parent | e837b901dcfac82e864f806c80f4a9cbfdb9c9f3 (diff) | |
download | gitpython-b82dbf538ac0d03968a0f5b7e2318891abefafaa.tar.gz |
GitCmd implementation of gitdb base moved to git-python where it belongs. Previously it was located in gitdb, which doesn't have any facilities to use the git command
Diffstat (limited to 'lib/git/repo.py')
-rw-r--r-- | lib/git/repo.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/git/repo.py b/lib/git/repo.py index 85f12300..72f7ba06 100644 --- a/lib/git/repo.py +++ b/lib/git/repo.py @@ -13,7 +13,7 @@ from objects import * from config import GitConfigParser from remote import Remote -from gitdb import GitObjectDB +from db import GitCmdObjectDB import os import sys @@ -68,7 +68,7 @@ class Repo(object): # represents the configuration level of a configuration file config_level = ("system", "global", "repository") - def __init__(self, path=None, odbt = GitObjectDB): + def __init__(self, path=None, odbt = GitCmdObjectDB): """ Create a new Repo instance :param path: is the path to either the root git directory or the bare git repo:: @@ -131,7 +131,7 @@ class Repo(object): # special handling, in special times args = [os.path.join(self.git_dir, 'objects')] - if issubclass(odbt, GitObjectDB): + if issubclass(odbt, GitCmdObjectDB): args.append(self.git) self.odb = odbt(*args) |