Skip to content

Commit 75f4f63

Browse files
theWorstComradeByron
authored andcommitted
1 parent d0b48f3 commit 75f4f63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/remote.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ class FetchInfo(IterableObj, object):
273273
NEW_TAG, NEW_HEAD, HEAD_UPTODATE, TAG_UPDATE, REJECTED, FORCED_UPDATE, \
274274
FAST_FORWARD, ERROR = [1 << x for x in range(8)]
275275

276-
_re_fetch_result = re.compile(r'^\s*(.) (\[?[\w\s\.$@]+\]?)\s+(.+) -> ([^\s]+)( \(.*\)?$)?')
276+
_re_fetch_result = re.compile(r'^\s*(.) (\[[\w\s\.$@]+\]|[\w\.$@]+)\s+(.+) -> ([^\s]+)( \(.*\)?$)?')
277277

278278
_flag_map: Dict[flagKeyLiteral, int] = {
279279
'!': ERROR,

0 commit comments

Comments
 (0)