git/Documentation/technical
Derrick Stolee 118bd57002 commit-graph: add base graphs chunk
To quickly verify a commit-graph chain is valid on load, we will
read from the new "Base Graphs Chunk" of each file in the chain.
This will prevent accidentally loading incorrect data from manually
editing the commit-graph-chain file or renaming graph-{hash}.graph
files.

The commit_graph struct already had an object_id struct "oid", but
it was never initialized or used. Add a line to read the hash from
the end of the commit-graph file and into the oid member.

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2019-06-19 20:46:26 -07:00
..
.gitignore
api-allocation-growing.txt
api-argv-array.txt
api-config.txt
api-credentials.txt
api-diff.txt
api-directory-listing.txt
api-error-handling.txt
api-gitattributes.txt
api-grep.txt
api-history-graph.txt
api-index-skel.txt
api-index.sh
api-merge.txt
api-object-access.txt
api-oid-array.txt sha1-array: provide oid_array_filter 2018-12-05 11:42:31 +09:00
api-parse-options.txt parse-options: drop OPT_DATE() 2018-11-06 12:56:14 +09:00
api-quote.txt
api-ref-iteration.txt
api-remote.txt
api-revision-walking.txt
api-run-command.txt
api-setup.txt
api-sigchain.txt
api-submodule-config.txt
api-trace.txt
api-tree-walking.txt
api-xdiff-interface.txt
bitmap-format.txt
commit-graph-format.txt commit-graph: add base graphs chunk 2019-06-19 20:46:26 -07:00
commit-graph.txt commit-graph: document commit-graph chains 2019-06-19 20:46:25 -07:00
directory-rename-detection.txt
hash-function-transition.txt
http-protocol.txt
index-format.txt ieot: add Index Entry Offset Table (IEOT) extension 2018-10-11 15:32:48 +09:00
long-running-process-protocol.txt
multi-pack-index.txt
pack-format.txt
pack-heuristics.txt
pack-protocol.txt pack-protocol.txt: accept error packets in any context 2019-01-02 13:05:30 -08:00
partial-clone.txt partial-clone: add missing 'is' in doc 2019-01-14 11:06:47 -08:00
protocol-capabilities.txt
protocol-common.txt
protocol-v2.txt Merge branch 'jt/fetch-v2-sideband' 2019-02-05 14:26:11 -08:00
racy-git.txt
repository-version.txt doc: move extensions.worktreeConfig to the right place 2018-11-16 14:10:31 +09:00
rerere.txt
send-pack-pipeline.txt
shallow.txt
signature-format.txt
trivial-merge.txt