1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-04 01:56:15 +02:00

git-p4: the option to specify 'host' is -H, not -h

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>
This commit is contained in:
Russell Myers 2012-02-22 11:16:05 -08:00 committed by Junio C Hamano
parent 2ab5ca80f0
commit 41799aa209

View File

@ -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: