Code

git-p4: the option to specify 'host' is -H, not -h
authorRussell Myers <mezner@russellmyers.com>
Wed, 22 Feb 2012 19:16:05 +0000 (11:16 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 22 Feb 2012 19:18:19 +0000 (11:18 -0800)
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>
contrib/fast-import/git-p4

index a78d9c54931c7fc1f6a693a7f185f08bcb8f6861..d2fd265b1c351b942e8ed3e1aa3f95866b6d965d 100755 (executable)
@@ -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: