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

Commit174faa9

Browse files
authored
Fix remote-update parsing issue when updating shallow submodules
The line that now parses correctly looks like:```=5 = [up to date] zm/160_uwp -> origin/zm/160_uwp```Note the `=5 ` in the example, which is now ignored.
2 parents623aa6e +a9593c7 commit174faa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎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<<xforxinrange(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)

[8]ページ先頭

©2009-2025 Movatter.jp