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

Re: [PATCH] git-p4: speed up search for branch parent

From
Joachim Kuebart <joachim.kuebart@gmail.com>
Date
Apr 29, 2021, 11:30 UTC
Message-ID
<CAJGkkrS1Qg_Se=Bu5oE1K1G+NtWDTq2JErJNtvyRoQrRw74WQA@mail.gmail.com>
In-Reply-To
<b0befcf3-8d8a-f99f-d4f0-78b2cfe22505@diamand.org>
On Thu, 29 Apr 2021 at 10:22, Luke Diamand <luke@diamand.org> wrote:
>
> There are existing tests for importing branches which should cover this.
> I don't know if they need to be extended or not, you might want to check.

I enhanced t9801-git-p4-branch to check for this functionality, i.e. that the branches are branched off at the correct commits from their parents. As far as I could see, there was no test for this before.

Thank you as well for your quick response!
Cheers,
Joachim
Previous: Joachim KuebartNext: Joachim Kuebart via GitGitGadget
Message 7 of 10 in “git-p4: speed up search for branch parent”
  1. git-p4: speed up search for branch parentJoachim Kuebart via GitGitGadget, Apr 28, 2021
  2. Junio C HamanoApr 29, 2021
  3. Joachim KuebartApr 29, 2021
  4. Luke DiamandApr 29, 2021
  5. Junio C HamanoApr 29, 2021
  6. Joachim KuebartApr 29, 2021
  7. Joachim KuebartApr 29, 2021
  8. 0/2 git-p4: speed up search for branch parentJoachim Kuebart via GitGitGadget, May 5, 2021
  9. 1/2 git-p4: ensure complex branches are cloned correctlyJoachim Kuebart via GitGitGadget, May 5, 2021
  10. 2/2 git-p4: speed up search for branch parentJoachim Kuebart via GitGitGadget, May 5, 2021

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.