Skip to content

Commit

Permalink
git-p4: Fix one-liner in p4_write_pipe function.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tor Arvid Lund authored and Junio C Hamano committed Aug 23, 2008
1 parent f135aac commit 893d340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/fast-import/git-p4
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 893d340

Please sign in to comment.