From 741dfaadf732d4a2a897250c006d5ef3d3cd9f3a Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Fri, 15 Oct 2010 11:29:50 +0200 Subject: Fixed bug in http://byronimo.lighthouseapp.com/projects/51787/tickets/44-remoteref-fails-when-there-is-character-in-the-name using supplied patch ( which was manually applied ). Fixed slightly broken test for remote handling --- lib/git/remote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/git/remote.py') diff --git a/lib/git/remote.py b/lib/git/remote.py index 54e1b210..52dd787d 100644 --- a/lib/git/remote.py +++ b/lib/git/remote.py @@ -292,7 +292,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 } -- cgit v1.2.1