summaryrefslogtreecommitdiffstats
path: root/.mailmap
diff options
context:
space:
mode:
authorLuke Diamand <luke@diamand.org>2011-10-16 16:47:52 +0200
committerJunio C Hamano <gitster@pobox.com>2011-10-18 05:46:49 +0200
commit6de040df566d4b4489366aa2ae5cc215ec449618 (patch)
tree749741b429861ab84d30c5daa124c9fb1d9b4305 /.mailmap
parentgit-p4: keyword flattening fixes (diff)
downloadgit-6de040df566d4b4489366aa2ae5cc215ec449618.tar.xz
git-6de040df566d4b4489366aa2ae5cc215ec449618.zip
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 '.mailmap')
0 files changed, 0 insertions, 0 deletions