mirror of
https://github.com/go-gitea/gitea
synced 2025-02-01 20:44:28 +00:00
e84e5db6de
Most time, when invoking `git.OpenRepository`, `objectFormat` will not be used, so it's a waste to invoke commandline to get the object format. This PR make it a lazy operation, only invoke that when necessary.