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 коммит произвёл Junio C Hamano
Родитель 2ab5ca80f0
Коммит 41799aa209
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

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