threads / bug / 24861

Bug Report: Minor bug in contrib/fast-import/git-p4

Subject: Bug Report: Minor bug in contrib/fast-import/git-p4

## tl;dr

One message between Aug 25, 2010 and Aug 25, 2010.

replies: 0people: 1as markdown or json

Cristobalito Cristobalito· Aug 25, 2010, 22:20 UTC · lore

Only a very minor change and I wasn't sure how to submit an actual patch but I've copied the diff and local commit message below. Hopefully someone can commit the change on my behalf.

Thanks,
Chris
<PATCH>

As specified in the perforce documentation (http://www.perforce.com/perforce/doc.current/manuals/cmdref/o.gopts.html), the host is actually specified with a capital 'H'. The small 'h' displays the help message.

-------------------------- contrib/fast-import/git-p4 -------------------------- index c1ea643..d89d06c 100755

@@ -38,7 +38,7 @@ def p4_build_cmd(cmd):

     host = gitConfig("git-p4.host")
     if len(host) > 0:
-        real_cmd += "-h %s " % host
+        real_cmd += "-H %s " % host

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

</PATCH>

← back to recent threads