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

git-p4 and changing p4 depot path

From
Kevin Williams <kevwil@gmail.com>
Date
Sep 5, 2008, 16:47 UTC
Message-ID
<683a886f0809050947k3b461495u459607dccf891698@mail.gmail.com>

I've got some code I've been working on in a local git repository that I cloned from Perforce using git-p4. Now, I need to commit my changes to a *different depot path* within Perforce. Since the p4 depot path is stored in the logs rather than config, and logs are immutable because commits are immutable, it seems I cannot do this. Is there any way to do this? Why isn't the depot path stored in config? Please help!

-- 
Cheers,

Kevin Williams
http://kevwil.com/
Next: Tor Arvid Lund
Message 1 of 3 in “git-p4 and changing p4 depot path”
  1. Kevin WilliamsSep 5, 2008
  2. Tor Arvid LundSep 5, 2008
  3. Kevin WilliamsSep 5, 2008

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.