diff options
| author | Junio C Hamano <gitster@pobox.com> | 2024-02-08 16:22:01 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-02-08 16:22:01 -0800 |
| commit | 50b8f513a2e9bb33b5279cbac76c545e84a29c5a (patch) | |
| tree | b1cde539f49509319015762e95bd953ddec7fc25 /Documentation | |
| parent | f8e2ad965a4855126cb66edc5fa488d8d90b4c0b (diff) | |
| parent | b1df3b3867e351913887121063cbd69de24e83fc (diff) | |
| download | git-50b8f513a2e9bb33b5279cbac76c545e84a29c5a.tar.gz | |
Merge branch 'ps/commit-graph-less-paranoid' into maint-2.43
Earlier we stopped relying on commit-graph that (still) records
information about commits that are lost from the object store,
which has negative performance implications. The default has been
flipped to disable this pessimization.
* ps/commit-graph-less-paranoid:
commit-graph: disable GIT_COMMIT_GRAPH_PARANOIA by default
Diffstat (limited to 'Documentation')
| -rw-r--r-- | Documentation/git.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/git.txt b/Documentation/git.txt index 2535a30194..6c19fd1d76 100644 --- a/Documentation/git.txt +++ b/Documentation/git.txt @@ -917,9 +917,9 @@ for full details. avoid issues with stale commit-graphs that contain references to already-deleted commits, but comes with a performance penalty. + -The default is "true", which enables the aforementioned behavior. -Setting this to "false" disables the existence check. This can lead to -a performance improvement at the cost of consistency. +The default is "false", which disables the aforementioned behavior. +Setting this to "true" enables the existence check so that stale commits +will never be returned from the commit-graph at the cost of performance. `GIT_ALLOW_PROTOCOL`:: If set to a colon-separated list of protocols, behave as if |
