commit 2dbbbc3a32777f5ac65125f54c00143193e2fbda
from: Stefan Sperling
date: Thu Jul 23 14:09:55 2020 UTC
sync man pages
commit - 83f7eddbfbf66c0a2ffecc4639c6da642711bd7e
commit + 2dbbbc3a32777f5ac65125f54c00143193e2fbda
blob - 91780049233ec126d75094ed6eb4d157077a1460
blob + c8edc309c1a6f08b814b87daabf6a8c2be424efe
--- git-repository.5.html
+++ git-repository.5.html
@@ -50,28 +50,33 @@
hierarchy. Conceptually, the repository's data model is a directed acyclic
graph which contains three types of objects as nodes:
- - Blobs
+ - Blobs
- The content of tracked files is stored in objects of type
- blob.
- - Trees
- - A tree object points to any number of such blobs, and
- also to other trees in order to represent a hierarchy of files and
- directories.
- - Commits
- - A commit object points to the root element of one tree,
- and thus records the state of this entire tree as a snapshot. Commit
- objects are chained together to form lines of version control history.
- Most commits have just one successor commit, but commits may be succeeded
- by an arbitrary number of subsequent commits so that diverging lines of
- version control history, known as branches, can be
- represented. A commit which precedes another commit is referred to as that
- other commit's parent commit. A commit with multiple
- parents unites disparate lines of history and is known as a
- merge commit.
- - Tags
- - A tag object associates a user-defined label with
- another object, which is typically a commit object. Tag objects also
- contain a tag message, as well as author and timestamp information.
+ blob.
+ - Trees
+ - A tree object
+ points to any number of such blobs, and also to other trees in order to
+ represent a hierarchy of files and directories.
+ - Commits
+ - A commit object
+ points to the root element of one tree, and thus records the state of this
+ entire tree as a snapshot. Commit objects are chained together to form
+ lines of version control history. Most commits have just one successor
+ commit, but commits may be succeeded by an arbitrary number of subsequent
+ commits so that diverging lines of version control history, known as
+ branches,
+ can be represented. A commit which precedes another commit is referred to
+ as that other commit's
+ parent
+ commit. A commit with multiple parents unites disparate lines of
+ history and is known as a
+ merge
+ commit.
+ - Tags
+ - A tag object
+ associates a user-defined label with another object, which is typically a
+ commit object. Tag objects also contain a tag message, as well as author
+ and timestamp information.
Each object is identified by a SHA1 hash calculated over both the
object's header and the data stored in the object.
@@ -84,12 +89,13 @@
after the 256 possible hexadecimal values of the first byte of an object
identifier. The name of the loose object file corresponds to the remaining
hexadecimal byte values of the object's identifier.
-A loose object file begins with a header which specifies the type
- of object as an ASCII string, followed by an ASCII space character, followed
- by the object data's size encoded as an ASCII number string. The header is
- terminated by a NUL character, and the remainder of the
- file contains object data. Loose objects files are compressed with
- deflate(3).
+A loose object file begins with a header which specifies
+ the type of object as an ASCII string, followed by an ASCII space character,
+ followed by the object data's size encoded as an ASCII number string. The
+ header is terminated by a
+ NUL character, and
+ the remainder of the file contains object data. Loose objects files are
+ compressed with deflate(3).
Multiple objects can be bundled in a pack file
for better disk space efficiency and increased run-time performance. The
pack file format introduces two additional types of objects:
@@ -207,8 +213,8 @@