-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pack has unresolved deltas with git-aggregator 3.0.0 and 3.0.1 with git 2.20.1 (debian buster, 10) #68
Comments
I'm having the same problem when merging several sources. |
We are also facing the same issue. |
I don't have a reproducer. Can someone try to dig into this? |
While acsone/git-aggregator#68 is not fixed.
Can you try on a fresh clone without the depth option? |
@sbidoul i reproduced it in https://github.com/ap-wtioit/git-aggregator_test_68 with public commits running
When cloning current odoo 13.0 (odoo/odoo@cd1a85a) with the new Update 09:26: git clone --filter=blob:none -b 13.0 --depth 100 https://github.com/odoo/odoo.git /root/odoo
cd /root/odoo
git checkout -B 13.0
git remote add odoo https://github.com/odoo/odoo.git
git fetch --depth 100 odoo 13.0
git fetch --depth 100 odoo refs/pull/99292/head reproduces the error while the following (using remote origin) does work: git clone --filter=blob:none -b 13.0 --depth 100 https://github.com/odoo/odoo.git /root/odoo
cd /root/odoo
git checkout -B 13.0
git fetch --depth 100 origin 13.0
git fetch --depth 100 origin refs/pull/99292/head Update 10:06:
Update 10:30: |
Thanks for the investigation. I ultimately did not yank because it seems to work fine in many cases. I tried your reproducer on Ubuntu 20.04 (git 2.25.1) and it works fine:
So my proposal would be to enable I would also add a note in the docs that says that the |
We also face this, any news about it? |
While acsone/git-aggregator#68 is not fixed.
bump |
Until a fix is proposed, I'd recommend upgrading git to 2.25.1+ and maybe not use the depth option. |
I have the same problem. I am using Ubuntu 24.04 with virtual env configured for python 3 |
not yet reproduced with public commits (will update tomorrow)
when using git-aggregator 3.0.0 or 3.0.1 with git 2.20.1 and performing
gitaggregate --expand-env --config .../repo.yaml aggregate
:with
we get the following error:
When i increase DEPTH_MERGE to 1000 i get
fatal: pack has 228 unresolved deltas
and the rest stays the same.Those errors do not happen if i use git-aggregator 2.1.0 (or my local dev environment with git 2.34.1 + python 3.10).
It does look like it's related to the
--filter
stuff but i think the root cause is somewhere in git.The text was updated successfully, but these errors were encountered: