author | Eric Wong <normalperson@yhbt.net> | |
Sun, 7 Sep 2008 03:18:18 +0000 (20:18 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 19 Sep 2008 02:27:16 +0000 (19:27 -0700) | ||
commit | 61aeeefd296249b4a78421048adbd78d9fab474a | |
tree | 1f5861125c7c324d6c197b63ac9329a474a35a56 | tree | snapshot |
parent | ad0a82bae0e08819520ab7442dd3a7eb7532bbe6 | commit | diff |
git-svn: fix handling of even funkier branch names
Apparently do_switch() tolerates the lack of escaping in less
funky branch names. For the really strange and scary ones, we
need to escape them properly. It strangely maintains compatible
with the existing handling of branch names with spaces and
exclamation marks.
Reported-by: m.skoric@web.de ($gmane/94677)
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Apparently do_switch() tolerates the lack of escaping in less
funky branch names. For the really strange and scary ones, we
need to escape them properly. It strangely maintains compatible
with the existing handling of branch names with spaces and
exclamation marks.
Reported-by: m.skoric@web.de ($gmane/94677)
Signed-off-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl | diff | blob | history | |
t/t9118-git-svn-funky-branch-names.sh | diff | blob | history |