diff options
| author | Junio C Hamano <gitster@pobox.com> | 2023-12-18 14:10:11 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-12-18 14:10:11 -0800 |
| commit | 66685e85556ad1890d896bc30ba3a7a99bf4dd78 (patch) | |
| tree | dcd8551f6104050a57a6a3eca6be3668e083d67e /Documentation | |
| parent | 02230b74e8a7c83a7dd57da2e7a299dbb4174f33 (diff) | |
| parent | b1df3b3867e351913887121063cbd69de24e83fc (diff) | |
| download | git-66685e85556ad1890d896bc30ba3a7a99bf4dd78.tar.xz | |
Merge branch 'ps/commit-graph-less-paranoid'
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 |
