author | Eric Wong <normalperson@yhbt.net> | |
Sun, 7 Sep 2008 03:18:18 +0000 (20:18 -0700) | ||
committer | Eric Wong <normalperson@yhbt.net> | |
Sun, 7 Sep 2008 04:00:28 +0000 (21:00 -0700) | ||
commit | f4392df485b197a0797cc503b1e1a71350abfe56 | |
tree | 9a07c9e7b72f4beea594927119023c8fe9be73b3 | tree | snapshot |
parent | 7c4d0219cf9ab6a7738a09ad7fec72d5e9f2ac67 | 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 |