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

Commit6becbaf

Browse files
committed
Merge pull requestgitpython-developers#221 from initOS/0.3-improve_branch_name_parsing
[FIX] remote.fetch: branch names may contain '#' characters
2 parentsc9d8845 +45eb6bd commit6becbaf

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
@@ -202,7 +202,7 @@ class FetchInfo(object):
202202
FAST_FORWARD,ERROR= [1<<xforxinrange(8)]
203203

204204
# %c %-*s %-*s -> %s (%s)
205-
re_fetch_result=re.compile("^\s*(.) (\[?[\w\s\.]+\]?)\s+(.+) -> ([/\w_\+\.-]+)( \(.*\)?$)?")
205+
re_fetch_result=re.compile("^\s*(.) (\[?[\w\s\.]+\]?)\s+(.+) -> ([/\w_\+\.\-#]+)( \(.*\)?$)?")
206206

207207
_flag_map= {'!':ERROR,'+':FORCED_UPDATE,'-':TAG_UPDATE,'*':0,
208208
'=':HEAD_UPTODATE,' ':FAST_FORWARD}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp