Skip to content

Commit

Permalink
git-p4: the option to specify 'host' is -H, not -h
Browse files Browse the repository at this point in the history
This was broken since the feature was introduced initially at abcaf07 (If
the user has configured various parameters, use them., 2008-08-10).

Acked-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Russell Myers authored and Junio C Hamano committed Feb 22, 2012
1 parent 2ab5ca8 commit 41799aa
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 @@ -38,7 +38,7 @@ def p4_build_cmd(cmd):

host = gitConfig("git-p4.host")
if len(host) > 0:
real_cmd += ["-h", host]
real_cmd += ["-H", host]

client = gitConfig("git-p4.client")
if len(client) > 0:
Expand Down

0 comments on commit 41799aa

Please sign in to comment.