Re: [PATCH v5] doc: add an explanation of Git's data model
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 31, 2025, 21:49 UTC
- Message-ID
- <xmqqcy62213a.fsf@gitster.g>
- In-Reply-To
- <pull.1981.v5.git.1761856336360.gitgitgadget@gmail.com>
The document refers to <<object,object type>> but the id to refer the descripion of the object is defined as [[objects]]; we need a band-aid like this one to pass GitHub Actions CI.
As description for individual object types are titled singular like [[commit]], [[blob]], etc., this band-aid drops the plural 's' from the tail of [[objects]], but as long as we are consistent, of course, we could go the other direction.
diff --git a/Documentation/gitdatamodel.adoc b/Documentation/gitdatamodel.adoc index 1cefbb4833..eaab3f800b 100644 --- a/Documentation/gitdatamodel.adoc +++ b/Documentation/gitdatamodel.adoc @@ -18,13 +18,13 @@ means when the documentation says "object", "reference" or "index". Git's core operations use 4 kinds of data: -1. <<objects,Objects>>: commits, trees, blobs, and tag objects +1. <<object,Objects>>: commits, trees, blobs, and tag objects 2. <<references,References>>: branches, tags, remote-tracking branches, etc 3. <<index,The index>>, also known as the staging area 4. <<reflogs,Reflogs>>: logs of changes to references ("ref log") -[[objects]] +[[object]] OBJECTS -------
-- 2.51.2-719-gbbf487eab4