diff options
Diffstat (limited to 'lib/bpgit.py')
-rw-r--r-- | lib/bpgit.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/bpgit.py b/lib/bpgit.py index 65403367..15089d74 100644 --- a/lib/bpgit.py +++ b/lib/bpgit.py @@ -37,6 +37,13 @@ def clean(tree=None): process.wait() _check(process) +def fetch(tree=None): + cmd = ['git', 'fetch'] + + process = subprocess.Popen(cmd, cwd=tree) + process.wait() + _check(process) + def status(tree=None): ''' For interpretation of the porcelain output refer to |