git/contrib/fast-import
Luke Diamand 6de040df56 git-p4: handle files with shell metacharacters
git-p4 used to simply pass strings into system() and popen(), and
relied on the shell doing the necessary expansion. This though meant
that shell metacharacters in file names would be corrupted - for
example files with $ or space in them.

Switch to using subprocess.Popen() and friends, and pass in explicit
arrays in the places where it matters. This then avoids needing shell
expansion.

Add trivial helper functions for some common perforce operations. Add
test case.

[pw: test cleanup]

Signed-off-by: Luke Diamand <luke@diamand.org>
Signed-off-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2011-10-17 20:46:49 -07:00
..
git-import.perl contrib/fast-import: add perl version of simple example 2007-09-18 03:14:18 -07:00
git-import.sh contrib/fast-import: add simple shell example 2007-09-18 03:14:16 -07:00
git-p4 git-p4: handle files with shell metacharacters 2011-10-17 20:46:49 -07:00
git-p4.bat Make the command call silent 2007-05-15 16:07:41 +02:00
git-p4.txt git-p4: Allow branch definition with git config 2011-08-22 21:08:37 -07:00
import-directories.perl perl: use "use warnings" instead of -w 2010-09-27 12:37:56 -07:00
import-tars.perl import-tars: Add support for tarballs compressed with lzma, xz 2009-10-21 17:15:43 -07:00
import-zips.py Correct references to /usr/bin/python which does not exist on FreeBSD 2010-03-24 14:33:54 -07:00