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

Re: git-p4

From
KBKent Borg <kentborg@borg.org>
Date
Sep 12, 2010, 20:07 UTC
Message-ID
<4C8D3303.1030302@borg.org>
In-Reply-To
<AANLkTi=NGsY3wDiTLwNLpw4TJMpiSY8A=az_=v2fYDLj@mail.gmail.com>
Tor Arvid Lund wrote:
> When messing about with git-p4 I have sometimes messed up that
> p4/master ref myself. I can normally fix it by setting it manually
Um, I maybe just did that before I saw your e-mail.
I edited:
  .git/info/refs
  .git/ORIG_HEAD
  .git/packed/refs
...and put in the sha1 of the "[git-p4:"-commit.
When I now do:
  $ git rev-list --no-merges remotes/p4/master..master
I get just the one commit that I hoped to get!
...did I just fix it?

I don't have time to try the "git p4 submit" now, I am going to be late in meeting my wife. Tomorrow morning...will it work?

Thanks so very much for your help,
-kb
Previous: Tor Arvid LundNext: Tor Arvid Lund
Message 7 of 14 in “Re: git-p4”
  1. Alejandro Riveira FernándezSep 10, 2010
  2. Tor Arvid LundSep 11, 2010
  3. Kent BorgSep 12, 2010
  4. Tor Arvid LundSep 12, 2010
  5. Kent BorgSep 12, 2010
  6. Tor Arvid LundSep 12, 2010
  7. Kent BorgSep 12, 2010
  8. Tor Arvid LundSep 12, 2010
  9. Kent BorgSep 13, 2010
  10. Tor Arvid LundSep 13, 2010
  11. Kent BorgSep 13, 2010
  12. Tor Arvid LundSep 13, 2010
  13. Kent BorgSep 16, 2010
  14. Tor Arvid LundSep 16, 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.