mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-02-09 17:53:07 +02:00
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. (cherry picked from commit e84e5db6de0306d514b1f1a9657931fb7197a188)
7.1 KiB
7.1 KiB