Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1fbc230

Browse files
ngcortesByron
authored andcommitted
Remove forced verbosity when fetching from a remote
1 parent890fd8f commit1fbc230

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎git/remote.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ def _assert_refspec(self):
751751
finally:
752752
config.release()
753753

754-
deffetch(self,refspec=None,progress=None,**kwargs):
754+
deffetch(self,refspec=None,progress=None,verbose=True,**kwargs):
755755
"""Fetch the latest changes for this remote
756756
757757
:param refspec:
@@ -770,6 +770,7 @@ def fetch(self, refspec=None, progress=None, **kwargs):
770770
underlying git-fetch does) - supplying a list rather than a string
771771
for 'refspec' will make use of this facility.
772772
:param progress: See 'push' method
773+
:param verbose: Boolean for verbose output
773774
:param kwargs: Additional arguments to be passed to git-fetch
774775
:return:
775776
IterableList(FetchInfo, ...) list of FetchInfo instances providing detailed
@@ -788,7 +789,7 @@ def fetch(self, refspec=None, progress=None, **kwargs):
788789
args= [refspec]
789790

790791
proc=self.repo.git.fetch(self,*args,as_process=True,with_stdout=False,
791-
universal_newlines=True,v=True,**kwargs)
792+
universal_newlines=True,v=verbose,**kwargs)
792793
res=self._get_fetch_info_from_stderr(proc,progress)
793794
ifhasattr(self.repo.odb,'update_cache'):
794795
self.repo.odb.update_cache()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2026 Movatter.jp