RE: possible bug with commit-graph causing git to fork bomb (was Re: [External Mail]Re: Git fork process infinitely and never stop)
- From
Han Xin <hanxin.hx@bytedance.com>
- Date
- Jul 9, 2022, 00:52 UTC
- Message-ID
- <20220709005227.82423-1-hanxin.hx@bytedance.com>
- In-Reply-To
- <20220709002658.vt34nnzhxefg72d3@Carlos-MacBook-Pro-2.local>
Show 11 quoted lines
> > To be a supplement. > > If I delete .git/objects/info/commit-graph, everything works well As well as fetch with `-c core.commitGraph=false` > > This would seem to indicate that something in the repository might be > triggered by the commit-graph code. > > > if I execute `git fetch --filter=blob:none --quiet --progress miui --prune --tags +refs/heads/*:refs/remotes/miui/* +refs/heads/miui13-s-thor-vendor-stable:refs/remotes/miui/miui13-s-thor-vendor-stable` on version 2.25.1. It just throw error rather than infinite loop, like this youtube video "https://www.youtube.com/watch?v=qvYTvVRE0FU&feature=youtu.be" > > maybe a regression? > > Carlo
I looks like the same issue I reported in [1], and we can see the fixup in [2].
1. https://lore.kernel.org/git/20220612161707.21807-1-chiyutianyi@gmail.com/ 2. https://lore.kernel.org/git/cover.1656593279.git.hanxin.hx@bytedance.com/
-Han Xin