Skip to content

Conversation

@djuarezg
Copy link
Contributor

@djuarezg djuarezg commented Nov 18, 2025

You may face that the repo object leaves lock files behind after fetch, so we need to clean them up with a forced object delete
Ref: gitpython-developers/GitPython#718 (comment)

We suspect this is due to git cat-file calls in fetch implementation together with using GitCmdObjectDB as the object database
Ref: https://gitpython.readthedocs.io/en/stable/tutorial.html#gitcmdobjectdb

Using GitDB seems to fix the issue but we keep using GitCmdObjectDB for consistency

You may face that the repo object leaves lock files behind after fetch, so we need to
clean them up with a forced object delete
 Ref: gitpython-developers/GitPython#718 (comment)
We suspect this is due to git cat-file calls in fetch implementation together with
using GitCmdObjectDB as the object database
Ref: https://gitpython.readthedocs.io/en/stable/tutorial.html#gitcmdobjectdb
Using GitDB seems to fix the issue but we keep using GitCmdObjectDB for consistency
@djuarezg djuarezg merged commit 5e4224a into master Nov 18, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants