diff options
author | Thomas Rehn <thomas.rehn@initos.com> | 2015-01-02 15:12:37 +0100 |
---|---|---|
committer | Thomas Rehn <thomas.rehn@initos.com> | 2015-01-02 15:12:37 +0100 |
commit | 45eb6bd22554e5dad2417d185d39fe665b7a7419 (patch) | |
tree | 2b821ad540ac433a0b83b7e4e8ebab76ddce36a4 | |
parent | 1e1e19d33e1caa107dc0a6cc8c1bfe24d8153f51 (diff) | |
download | gitpython-45eb6bd22554e5dad2417d185d39fe665b7a7419.tar.gz |
[IMP] branch names may contain '#' characters
-rw-r--r-- | git/remote.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/remote.py b/git/remote.py index bce11f7d..a9a74ab6 100644 --- a/git/remote.py +++ b/git/remote.py @@ -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} |