diff options
| author | Kristoffer Haugsbakk <code@khaugsbakk.name> | 2026-05-07 21:42:28 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-05-08 10:22:33 +0900 |
| commit | 48c855bb8f17b86188a704cf8c0c5b4f6a316ade (patch) | |
| tree | 092e7c408be10cff711ada0baeeaa3c5dbe08e99 /contrib/persistent-https | |
| parent | 94f057755b7941b321fd11fec1b2e3ca5313a4e0 (diff) | |
doc: add caveat about turning off commit-graph
The doc `technical/commit-graph.adoc` says that replace objects and
commit grafts turn off commit-graph:
Commit grafts and replace objects can change the shape of the commit
history. The latter can also be enabled/disabled on the fly using
`--no-replace-objects`. This leads to difficulty storing both possible
interpretations of a commit id, especially when computing generation
numbers. The commit-graph will not be read or written when
replace-objects or grafts are present.
But this isn’t mentioned in the user-facing doc. Let’s mention it on
git-replace(1) and git-commit-graph(1).
Acked-by: Derrick Stolee <stolee@gmail.com>
Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions
