Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[IMP] branch names may contain '#' characters
  • Loading branch information
Thomas Rehn committed Jan 2, 2015
commit 45eb6bd22554e5dad2417d185d39fe665b7a7419
2 changes: 1 addition & 1 deletion git/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ class FetchInfo(object):
FAST_FORWARD, ERROR = [1 << x for x in range(8)]

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

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