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

git-p4 and git clone

From
TKThomas Kistler <tkistler@nvidia.com>
Date
Mar 22, 2010, 23:16 UTC
Message-ID
<B978892CA0FBD142827E74F92AC4BBD429B2444D4D@HQMAIL03.nvidia.com>
I'm probably missing something fairly fundamental but I'm running into problems with cloning a git-p4 repository:
First, I'm setting up a git-p4 master repository:
    $ cd tmp1
    $ git-p4 clone //foo/bar
Then I'm cloning it through git:
    $ cd tmp2
    $ git clone tmp1/bar
Finally, I'm trying to submit back to p4:
    $ git-p4 submit
This now fails because the remotes/p4/master seems to get lost when doing the "git clone". Is this supposed to work?

-Thomas ----------------------------------------------------------------------------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. -----------------------------------------------------------------------------------

Next: Benjamin Meyer
Message 1 of 7 in “git-p4 and git clone”
  1. Thomas KistlerMar 22, 2010
  2. Benjamin MeyerMar 23, 2010
  3. Thomas KistlerMar 23, 2010
  4. Tor Arvid LundMar 23, 2010
  5. Thomas KistlerMar 23, 2010
  6. Tor Arvid LundMar 23, 2010
  7. cherry pick into remote / git-p4Thomas Kistler, Apr 8, 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.