git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
CCCristobalito Cristobalito <cristobalito79@gmail.com>
Date
Aug 25, 2010, 22:20 UTC
Message-ID
<AANLkTimg=0bEGrn6Vy6a3WTx5S1Cjk+JW7jZJthFN3HD@mail.gmail.com>

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>
Message 1 of 1 in “Bug Report: Minor bug in contrib/fast-import/git-p4”
  1. Cristobalito CristobalitoAug 25, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.