提交 3558f32f 编写于 作者: P Pete Wyckoff 提交者: Junio C Hamano

git-p4: Change p4 command invocation

Change p4 command invocation to avoid going through the shell. This
allows names with spaces and wildcards to work.
Signed-off-by: NPete Wyckoff <pw@padd.com>
Signed-off-by: NVitor Antunes <vitor.hda@gmail.com>
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 c5665efe
......@@ -1984,7 +1984,7 @@ class P4Sync(Command, P4UserMap):
def importChanges(self, changes):
cnt = 1
for change in changes:
description = p4Cmd("describe %s" % change)
description = p4Cmd(["describe", str(change)])
self.updateOptionDict(description)
if not self.silent:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册