Giteabot e536d18fe5 Refactor the usage of batch catfile (#31754) (#31889)
Backport #31754 by @lunny

When opening a repository, it will call `ensureValidRepository` and also
`CatFileBatch`. But sometimes these will not be used until repository
closed. So it's a waste of CPU to invoke 3 times git command for every
open repository.

This PR removed all of these from `OpenRepository` but only kept
checking whether the folder exists. When a batch is necessary, the
necessary functions will be invoked.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2024-08-21 01:55:14 +08:00
..
2024-02-25 13:32:13 +00:00
2024-06-17 07:41:47 +00:00
2024-04-03 02:16:46 +00:00
2023-12-25 20:13:18 +08:00
2024-04-22 23:55:43 +00:00
2024-02-25 13:32:13 +00:00
2024-06-29 15:54:15 +00:00
2024-01-12 21:50:38 +00:00