Closed alexmojaki closed 2 weeks ago
https://pydantic.slack.com/archives/C05AF4A4WRM/p1718135501452089
import git is quite slow so this could improve startup time a bit in some cases. Even if somehow gitpython does this job better than using subprocess, this won't matter when .git isn't present, which it shouldn't be in production environments.
import git
.git
All modified and coverable lines are covered by tests :white_check_mark:
:loudspeaker: Thoughts on this report? Let us know!
https://pydantic.slack.com/archives/C05AF4A4WRM/p1718135501452089
import git
is quite slow so this could improve startup time a bit in some cases. Even if somehow gitpython does this job better than using subprocess, this won't matter when.git
isn't present, which it shouldn't be in production environments.