git-p4: Fix one-liner in p4_write_pipe function.

The function built a p4 command string via the p4_build_cmd function, but
ignored the result.

Signed-off-by: Tor Arvid Lund <torarvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Tor Arvid Lund 2008-08-21 23:11:40 +02:00 committed by Junio C Hamano
parent f135aacb5a
commit 893d340f2c

View File

@ -76,7 +76,7 @@ def write_pipe(c, str):
def p4_write_pipe(c, str):
real_cmd = p4_build_cmd(c)
return write_pipe(c, str)
return write_pipe(real_cmd, str)
def read_pipe(c, ignore_error=False):
if verbose: