Skip to content

Commit b22a5e9

Browse files
committed
Allow "@" sign in fetch output lines
1 parent 9149c34 commit b22a5e9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

git/remote.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,7 @@ class FetchInfo(object):
185185
NEW_TAG, NEW_HEAD, HEAD_UPTODATE, TAG_UPDATE, REJECTED, FORCED_UPDATE, \
186186
FAST_FORWARD, ERROR = [1 << x for x in range(8)]
187187

188-
# %c %-*s %-*s -> %s (%s)
189-
re_fetch_result = re.compile("^\s*(.) (\[?[\w\s\.$]+\]?)\s+(.+) -> ([/\w_\+\.\-$#]+)( \(.*\)?$)?")
188+
re_fetch_result = re.compile("^\s*(.) (\[?[\w\s\.$@]+\]?)\s+(.+) -> ([/\w_\+\.\-$@#]+)( \(.*\)?$)?")
190189

191190
_flag_map = {'!': ERROR,
192191
'+': FORCED_UPDATE,

0 commit comments

Comments
 (0)