Skip to content
\n

Any suggestions about solving this error would be greatly appreciated.
\nI am using gitpython version 3.1.11.
\nThanks a lot.

","upvoteCount":1,"answerCount":2,"acceptedAnswer":{"@type":"Answer","text":"

GitPython is not thread safe, and each thread must own its own instance of a Repo while only performing read operations on them.

\n

Even though I am closing this issue, please feel free to keep posting in the comments when needed.

","upvoteCount":1,"url":"https://github.com/gitpython-developers/GitPython/discussions/1182#discussioncomment-408872"}}}

How to handle multiple commits with multithreading #1182

Answered by Byron
Be5yond asked this question in Q&A
Discussion options

You must be logged in to vote

GitPython is not thread safe, and each thread must own its own instance of a Repo while only performing read operations on them.

Even though I am closing this issue, please feel free to keep posting in the comments when needed.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Byron
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1128 on February 26, 2021 11:18.