Code

git-p4: handle p4 branches and labels containing shell chars
authorLuke Diamand <luke@diamand.org>
Thu, 19 Jan 2012 09:52:25 +0000 (09:52 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 20 Jan 2012 22:47:23 +0000 (14:47 -0800)
commit52a4880bcda7780eeda5a884f73ffa83726dc982
tree2d5fe118da2d389c81e27b5e2fd3711fdf9d8484
parent8cbfc1189cfc23f96f797a64bcb0c050b6ecc6e6
git-p4: handle p4 branches and labels containing shell chars

Don't use shell expansion when detecting branches, as it will
fail if the branch name contains a shell metachar. Similarly
for labels.

Add additional test for branches with shell metachars.

Signed-off-by: Luke Diamand <luke@diamand.org>
Acked-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/fast-import/git-p4
t/t9803-git-p4-shell-metachars.sh