-
-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Secure against slow ahead-behind-calculations
The commits introducing `%(ahead-behind)` indicated that its calculation would be very fast. That seems generally true if the "commit-graph" is up-to-date. Introduce a global "slow_repo" marker in the store which can maybe used for the graph views as well. Now probe the speed of `for-each-ref` and fallback it is too slow. Also run "commit-graph" and check again. Only then set "slow_repo".
- Loading branch information
Showing
2 changed files
with
73 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters