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 /commit-graph.c | |
| parent | Merge branch 'cc/git-replay' (diff) | |
| parent | commit-graph: disable GIT_COMMIT_GRAPH_PARANOIA by default (diff) | |
| download | git-66685e85556ad1890d896bc30ba3a7a99bf4dd78.tar.gz git-66685e85556ad1890d896bc30ba3a7a99bf4dd78.zip | |
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 'commit-graph.c')
| -rw-r--r-- | commit-graph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commit-graph.c b/commit-graph.c index acac9bf6e1..6fad9d195d 100644 --- a/commit-graph.c +++ b/commit-graph.c @@ -1005,7 +1005,7 @@ struct commit *lookup_commit_in_graph(struct repository *repo, const struct obje uint32_t pos; if (commit_graph_paranoia == -1) - commit_graph_paranoia = git_env_bool(GIT_COMMIT_GRAPH_PARANOIA, 1); + commit_graph_paranoia = git_env_bool(GIT_COMMIT_GRAPH_PARANOIA, 0); if (!prepare_commit_graph(repo)) return NULL; |
