diff options
author | Per Øyvind Karlsen <proyvind@moondrake.org> | 2016-06-28 21:47:50 +0200 |
---|---|---|
committer | Per Øyvind Karlsen <proyvind@moondrake.org> | 2016-06-28 21:47:50 +0200 |
commit | 919de84e24d9fc8d4a2fda6cb46cac79744522a8 (patch) | |
tree | ef9319f5d7041b748bfa5552ce541641c1e18d7c /MgaRepo/git.py | |
parent | db101fdddb6f631a342fedc0ef2560edbef580b5 (diff) | |
download | mgarepo-919de84e24d9fc8d4a2fda6cb46cac79744522a8.tar mgarepo-919de84e24d9fc8d4a2fda6cb46cac79744522a8.tar.gz mgarepo-919de84e24d9fc8d4a2fda6cb46cac79744522a8.tar.bz2 mgarepo-919de84e24d9fc8d4a2fda6cb46cac79744522a8.tar.xz mgarepo-919de84e24d9fc8d4a2fda6cb46cac79744522a8.zip |
store repo topdir in VCS class
Diffstat (limited to 'MgaRepo/git.py')
-rw-r--r-- | MgaRepo/git.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MgaRepo/git.py b/MgaRepo/git.py index 07d57ac..08cccf6 100644 --- a/MgaRepo/git.py +++ b/MgaRepo/git.py @@ -19,8 +19,8 @@ class GITLogEntry(VCSLogEntry): class GIT(VCS): vcs_dirname = ".git" vcs_name = "git" - def __init__(self): - VCS.__init__(self) + def __init__(self, path=os.path.curdir): + VCS.__init__(self, path) self.vcs_command = config.get("global", "git-command", ["git"]) self.vcs_supports['clone'] = True self.env_defaults = {"GIT_SSH": self.vcs_wrapper} |