FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Update remote.py · mirror-dump/GitPython@a9593c7 · GitHub

Repository navigation

Commit a9593c7

Browse files
Update remote.py
Fixed the error of updating shallow submodules
1 parent 623aa6e commit a9593c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎git/remote.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ class FetchInfo(IterableObj):
316316
ERROR,
317317
) = [1 << x for x in range(8)]
318318

319-
_re_fetch_result = re.compile(r"^ *(.) (\[[\w \.$@]+\]|[\w\.$@]+) +(.+) -> ([^ ]+)( \(.*\)?$)?")
319+
_re_fetch_result = re.compile(r"^ *(?:.{0,3})(.) (\[[\w \.$@]+\]|[\w\.$@]+) +(.+) -> ([^ ]+)( \(.*\)?$)?")
320320

321321
_flag_map: Dict[flagKeyLiteral, int] = {
322322
"!": ERROR,

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL