summaryrefslogtreecommitdiff
path: root/Documentation/git-archimport.txt
diff options
context:
space:
mode:
authorLibravatar Luke Diamand <luke@diamand.org>2011-10-16 10:47:52 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-10-17 20:46:49 -0700
commit6de040df566d4b4489366aa2ae5cc215ec449618 (patch)
tree749741b429861ab84d30c5daa124c9fb1d9b4305 /Documentation/git-archimport.txt
parentgit-p4: keyword flattening fixes (diff)
downloadtgif-6de040df566d4b4489366aa2ae5cc215ec449618.tar.xz
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>
Diffstat (limited to 'Documentation/git-archimport.txt')
0 files changed, 0 insertions, 0 deletions