pull: checkout only specified target

Fixes #812

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2018-06-27 16:26:01 +03:00
parent 16e70a718c
commit 1319b73fc8
+1 -1
View File
@@ -295,7 +295,7 @@ class Project(object):
def pull(self, target=None, jobs=1, remote=None, all_branches=False):
self.fetch(target, jobs, remote=remote, all_branches=all_branches)
self.checkout()
self.checkout(target=target)
def _local_status(self, target=None):
status = {}