diff options
Diffstat (limited to 'morphlib/gitdir.py')
-rw-r--r-- | morphlib/gitdir.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/morphlib/gitdir.py b/morphlib/gitdir.py index f1286b25..0189ccb6 100644 --- a/morphlib/gitdir.py +++ b/morphlib/gitdir.py @@ -484,6 +484,9 @@ class GitDirectory(object): # Exact error is logged already by the runcmd() function. raise NoGitRepoError(self.dirname) + def clone_into(self, dst, ref=None): #pragma: no cover + morphlib.git.clone_into(cliapp.runcmd, self.dirname, dst, ref=ref) + def checkout(self, branch_name): # pragma: no cover '''Check out a git branch.''' morphlib.git.gitcmd(self._runcmd, 'checkout', branch_name) |