Skip to content

Commit a417f59

Browse files
Progress bar on git pull (#14)
> Fix Fetch progress bar by @fvalette-ledger in gitpython-developers/GitPython#1971 GitPython 3.1.44 got my fix merged, and thus, we can reintroduce progress bar on git pull (barbican update)
2 parents b4ac6e0 + 71a19ab commit a417f59

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ dependencies = [
3030
"tomli>=2.0.1; python_version < '3.11'",
3131
"referencing>=0.33.0",
3232
"rich>=13.6",
33-
"GitPython>=3.1.43",
33+
"GitPython>=3.1.44",
3434
]
3535
classifiers = [
3636
"Development Status :: 4 - Beta",

src/outpost/barbican/scm/git.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def fetch(self) -> None:
173173
if is_new_ref:
174174
refspec += ":" + refspec
175175

176-
fetch_infos = self._repo.remote().fetch(refspec=refspec)
176+
fetch_infos = self._repo.remote().fetch(refspec=refspec, progress=GitProgressBar())
177177

178178
# this should never occurs
179179
if len(fetch_infos) != 1:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy