Replies: 1 comment 2 replies
-
To determine if these things are available, Git itself uses its config and parsing code to detect first "Is this feature enabled?" and second "Is this feature available?" I mention this in that the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are working on a new Commit Graph in GitLens and some newer performance optimizations like the commit-graph and file watching can have a very large impact on performance for some repositories. For example, writing a commit-graph for the linux repo on my machine cut the time to open our Graph from ~8s to ~1 (with the same reduction on paging in new data too).
As far as I can tell, there doesn't seem to be a git command to tell me if there is a
commit-graph
or tell ifmaintenance
is setup. For the FSMonitor I can read the[core.fsmonitor](https://git-scm.com/docs/git-config#Documentation/git-config.txt-corefsmonitor)
setting at least.Should I be looking for the existence of the
commit-graph
file itself, but then how could I tell how it was generated, e.g. with--reachable
or--changed-paths
etc.Any guidance would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions