devel/git: fix bug commit-graph requires overflow generation data
Using www/gitlab-ce I see problems that git repositories got broken.
Gitlab includes some patches for the git binary they build:
https://gitlab.com/gitlab-org/gitaly/-/tree/master/_support/git-patches
These patches should have no impact to normal git usage but fixes some
ref handling problems, like:
https://gitlab.com/gitlab-org/gitaly/-/blob/master/_support/git-patches/v2.36.0.gl1/0006-refs-skip-hooks-when-deleting-uncovered-packed-refs.patch
The problem got visible that at any point it can happen that the repository
got broken (by merges happen) and if you try to fetch it you get:
"C:\Program Files\Git\bin\git.exe" pull --progress "origin"
fatal: commit-graph requires overflow generation data but has none
fatal: the remote end hung up unexpectedly
Done
PR: 263867
Approved by: garga (maintainer)