git-svn: fix handling of even funkier branch names
commitf4392df485b197a0797cc503b1e1a71350abfe56
authorEric Wong <normalperson@yhbt.net>
Sun, 7 Sep 2008 03:18:18 +0000 (6 20:18 -0700)
committerEric Wong <normalperson@yhbt.net>
Sun, 7 Sep 2008 04:00:28 +0000 (6 21:00 -0700)
tree9a07c9e7b72f4beea594927119023c8fe9be73b3
parent7c4d0219cf9ab6a7738a09ad7fec72d5e9f2ac67
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