git-svn: fix handling of even funkier branch names
authorEric Wong <normalperson@yhbt.net>
Sun, 7 Sep 2008 03:18:18 +0000 (20:18 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 19 Sep 2008 02:27:16 +0000 (19:27 -0700)
commit61aeeefd296249b4a78421048adbd78d9fab474a
tree1f5861125c7c324d6c197b63ac9329a474a35a56
parentad0a82bae0e08819520ab7442dd3a7eb7532bbe6
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>
git-svn.perl
t/t9118-git-svn-funky-branch-names.sh