Re: Re: [PATCH v2 2/2] commit-graph.c: no lazy fetch in lookup_commit_in_graph()
- From
Han Xin <hanxin.hx@bytedance.com>
- Date
- Jun 25, 2022, 02:31 UTC
- Message-ID
- <CAKgqsWXm6aUjG1i7Z7GzKKbs8+yw=dQSu2LWj3fB19LR5aVh_g@mail.gmail.com>
- In-Reply-To
- <CAKgqsWXwf5h7r4fqOnfTbe6vyR25PzQ+hhEddCQV3cMis2ruEg@mail.gmail.com>
On Sat, Jun 25, 2022 at 10:25 AM Han Xin <hanxin.hx@bytedance.com> wrote:
Show 11 quoted lines
> > The "bug" depends on the commit exist in the commit-graph but > missing in the repository. > > I didn't find a better way to make this kind of scene. > > This bug was first found when alternates and commit-graph were > both used. Since the promise did not maintain all the references, > I suspect that the "auto gc" during the update process of the promise > caused the loss of the unreachable commits in the promise. >
Some mistakes here: This bug was first found when alternates and commit-graph were both used. Since the promise did not maintain all the references, I suspect that the "auto gc" during the update of the alternates caused the loss of the unreachable commits.