Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUse of GitPython causes git log operations to slow on the repository #1006
Comments
Hi @ndimiduk , GitPython is expected to not write/modify the repository during read-only operations, and for now I would assume it indeed behaves that way. However, since it calls out to Maybe you can copy a 'fast', unprocessed repository, run the |
Sorry for the long silence. I have tried as you suggest and indeed, the diff result is empty. Curiouser and curiouser. Thank you for your patience! |
Hello,
I've been using your nice library over in Apache HBase as a part of git-jira-release-audit. I've noticed that after running the tool with
--parse-release-tags
, which makes many calls toRepo.git.name_rev
, calls togit log
on the command line become extremely slow. It seems like the repository is somehow left with lots of garbage after it's been parsed byGitPython
. Does this make sense, sound even plausible?You can see my requirements file there, using GitPython==3.0.5.
Thanks,
Nick