diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2010-10-15 11:29:50 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2010-10-15 11:29:50 +0200 |
commit | 741dfaadf732d4a2a897250c006d5ef3d3cd9f3a (patch) | |
tree | 2bdd7b4d7581b9b22727151e6af1d5ebf584f987 /lib/git/remote.py | |
parent | c4d5caa79e6d88bb3f98bfbefa3bfa039c7e157a (diff) | |
download | gitpython-741dfaadf732d4a2a897250c006d5ef3d3cd9f3a.tar.gz |
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
Diffstat (limited to 'lib/git/remote.py')
-rw-r--r-- | lib/git/remote.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |