mirror of
https://github.com/git/git.git
synced 2024-11-08 10:13:18 +01:00
6de040df56
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> |
||
---|---|---|
.. | ||
git-import.perl | ||
git-import.sh | ||
git-p4 | ||
git-p4.bat | ||
git-p4.txt | ||
import-directories.perl | ||
import-tars.perl | ||
import-zips.py |