summaryrefslogtreecommitdiff
path: root/git/cmd.py
diff options
context:
space:
mode:
authorBarry Scott <barry@barrys-emacs.org>2016-05-28 12:05:23 +0100
committerBarry Scott <barry@barrys-emacs.org>2016-05-28 12:05:23 +0100
commitb4492c7965cd8e3c5faaf28b2a6414b04984720b (patch)
tree201c035534ac5809a3ef2436bdf7826775d195b5 /git/cmd.py
parentbed46300fe5dcb376d43da56bbcd448d73bb2ea0 (diff)
downloadgitpython-b4492c7965cd8e3c5faaf28b2a6414b04984720b.tar.gz
The progress arg to push, pull, fetch and clone is now a python callable.
This simplifies the API and removes the parser, RemoteProgres, from the API as RemoteProgress is an internal detail of the implementation. progress is accepted as: * None - drop progress messages * callable (function etc) - call the function with the same args as update * object - assume its RemoteProgress derived as use as before RemoteProgress takes an optional progress_function argument. It will call the progress function if not None otherwise call self.update as it used to.
Diffstat (limited to 'git/cmd.py')
0 files changed, 0 insertions, 0 deletions