diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2016-05-29 10:08:38 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2016-05-29 10:08:38 +0200 |
commit | ece57af3b69c38f4dcd19e8ccdd07ec38f899b23 (patch) | |
tree | faffbb7ad5eb0d21ff0920791842aa7446332e1c /git/repo/base.py | |
parent | c5077dac4c7680c925f4c5e792eeb3c296a3b4c4 (diff) | |
parent | d255f4c8fd905d1cd12bd42b542953d54ac8a8c3 (diff) | |
download | gitpython-ece57af3b69c38f4dcd19e8ccdd07ec38f899b23.tar.gz |
Merge pull request #450 from barry-scott/master
The progress arg to push, pull, fetch and clone is now a python calla…
Diffstat (limited to 'git/repo/base.py')
-rw-r--r-- | git/repo/base.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/git/repo/base.py b/git/repo/base.py index bc5a7c35..9ba2b1d2 100644 --- a/git/repo/base.py +++ b/git/repo/base.py @@ -32,7 +32,8 @@ from git.index import IndexFile from git.config import GitConfigParser from git.remote import ( Remote, - add_progress + add_progress, + progress_object ) from git.db import GitCmdObjectDB @@ -872,6 +873,8 @@ class Repo(object): @classmethod def _clone(cls, git, url, path, odb_default_type, progress, **kwargs): + progress = progress_object(progress) + # special handling for windows for path at which the clone should be # created. # tilde '~' will be expanded to the HOME no matter where the ~ occours. Hence |