commit - 4b4fd6aa67065da8141a7a08bda84b95bc6ae060
commit + 9468754ea48edd5f18d811825437cf5f7407432c
blob - 23c2b21008d7640d7732ca9771486cac4e72d2e6
blob + 265da0a0dd5a94a5dc92044cdc974254621de8fd
--- cvg/cvg.1
+++ cvg/cvg.1
Check out files from the specified
.Ar commit
on the selected branch.
-The expected argument is a commit ID SHA1 hash or an existing reference
+The expected argument is a commit ID or an existing reference
or tag name which will be resolved to a commit ID.
-An abbreviated hash argument will be expanded to a full SHA1 hash
+An abbreviated hash argument will be expanded to a commit ID
automatically, provided the abbreviation is unique.
If this option is not specified, the most recent commit on the selected
branch will be used.
.It Fl c Ar commit
Update the work tree to the specified
.Ar commit .
-The expected argument is a commit ID SHA1 hash or an existing reference
+The expected argument is a commit ID or an existing reference
or tag name which will be resolved to a commit ID.
-An abbreviated hash argument will be expanded to a full SHA1 hash
+An abbreviated hash argument will be expanded to a commit ID
automatically, provided the abbreviation is unique.
If this option is not specified, the most recent commit on the work tree's
branch will be used.
.It Fl c Ar commit
Start traversing history at the specified
.Ar commit .
-The expected argument is a commit ID SHA1 hash or an existing reference
+The expected argument is a commit ID or an existing reference
or tag name which will be resolved to a commit ID.
-An abbreviated hash argument will be expanded to a full SHA1 hash
+An abbreviated hash argument will be expanded to a commit ID
automatically, provided the abbreviation is unique.
If this option is not specified, default to the work tree's current branch
if invoked in a work tree, or to the repository's HEAD reference.
work tree, use the repository path associated with this work tree.
.It Fl S Ar search-pattern
If specified, show only commits with a log message, author name,
-committer name, or ID SHA1 hash matched by the extended regular
+committer name, or commit ID matched by the extended regular
expression
.Ar search-pattern .
Lines in committed patches will be matched if
arguments are specified, only show changes within the specified paths.
.Pp
If two arguments are provided, treat each argument as a reference, a tag
-name, or an object ID SHA1 hash, and display differences between the
+name, or an object ID, and display differences between the
corresponding objects.
Both objects must be of the same type (blobs, trees, or commits).
-An abbreviated hash argument will be expanded to a full SHA1 hash
+An abbreviated hash argument will be expanded to a full commit ID
automatically, provided the abbreviation is unique.
If none of these interpretations produce a valid result or if the
.Fl P
and its first parent commit.
When used twice, show differences between the two specified commits.
.Pp
-The expected argument is a commit ID SHA1 hash or an existing reference
+The expected argument is a commit ID or an existing reference
or tag name which will be resolved to a commit ID.
-An abbreviated hash argument will be expanded to a full SHA1 hash
+An abbreviated hash argument will be expanded to a commit ID
automatically, provided the abbreviation is unique.
.Pp
If the
.It Fl c Ar commit
Start traversing history at the specified
.Ar commit .
-The expected argument is a commit ID SHA1 hash or an existing reference
+The expected argument is a commit ID or an existing reference
or tag name which will be resolved to a commit ID.
-An abbreviated hash argument will be expanded to a full SHA1 hash
+An abbreviated hash argument will be expanded to a commit ID
automatically, provided the abbreviation is unique.
.It Fl r Ar repository-path
Use the repository at the specified path.
.It Fl c Ar commit
List files and directories as they appear in the specified
.Ar commit .
-The expected argument is a commit ID SHA1 hash or an existing reference
+The expected argument is a commit ID or an existing reference
or tag name which will be resolved to a commit ID.
-An abbreviated hash argument will be expanded to a full SHA1 hash
+An abbreviated hash argument will be expanded to a commit ID
automatically, provided the abbreviation is unique.
.It Fl i
Show object IDs of files (blob objects) and directories (tree objects).
.Ar commit .
The expected
.Ar commit
-argument is a commit ID SHA1 hash or an existing reference or tag name which
+argument is a commit ID or an existing reference or tag name which
will be resolved to a commit ID.
-An abbreviated hash argument will be expanded to a full SHA1 hash
+An abbreviated hash argument will be expanded to a commit ID
automatically, provided the abbreviation is unique.
.It Fl l
List all existing tags in the repository instead of creating a new tag.
The specified
.Ar commit
should be on a different branch than the work tree's base commit.
-The expected argument is a reference or a commit ID SHA1 hash.
-An abbreviated hash argument will be expanded to a full SHA1 hash
+The expected argument is a reference or a commit ID.
+An abbreviated hash argument will be expanded to a commit ID
automatically, provided the abbreviation is unique.
.Pp
Show the status of each affected file, using the following status codes:
The specified
.Ar commit
should be on the same branch as the work tree's base commit.
-The expected argument is a reference or a commit ID SHA1 hash.
-An abbreviated hash argument will be expanded to a full SHA1 hash
+The expected argument is a reference or a commit ID.
+An abbreviated hash argument will be expanded to a commit ID
automatically, provided the abbreviation is unique.
.Pp
Show the status of each affected file, using the following status codes:
Blob object contents are printed as they would appear in files on disk.
.Pp
Attempt to interpret each argument as a reference, a tag name, or
-an object ID SHA1 hash.
+an object ID.
References will be resolved to an object ID.
Tag names will resolved to a tag object.
-An abbreviated hash argument will be expanded to a full SHA1 hash
+An abbreviated hash argument will be expanded to a commit ID
automatically, provided the abbreviation is unique.
.Pp
If none of the above interpretations produce a valid result, or if the
.Ar commit .
If this option is not used, paths are looked up in the commit resolved
via the repository's HEAD reference.
-The expected argument is a commit ID SHA1 hash or an existing reference
+The expected argument is a commit ID or an existing reference
or tag name which will be resolved to a commit ID.
-An abbreviated hash argument will be expanded to a full SHA1 hash
+An abbreviated hash argument will be expanded to a commit ID
automatically, provided the abbreviation is unique.
.It Fl P
Interpret all arguments as paths only.
blob - e1bad37d93f3c3a3245263af0487b27292648a5e
blob + d873829f0efc29c213bfc13c426dc001997ec7ca
--- got/git-repository.5
+++ got/git-repository.5
A Git repository stores a series of versioned snapshots of a file hierarchy.
Conceptually, the repository's data model is a directed acyclic graph which
contains four types of objects as nodes:
-.Bl -tag -width Ds
+.Bl -tag -width commits
.It Blobs
The content of tracked files is stored in objects of type
.Em blob .
timestamp information.
.El
.Pp
-Each object is identified by a SHA1 hash calculated over both the object's
+Each object is identified by an hash calculated over both the object's
header and the data stored in the object.
+The hashing algorithm used is specified in the repository
+.Pa config
+file for newer repositories while older ones use SHA1 implicitly.
.Sh OBJECT STORAGE
Loose objects are stored as individual files beneath the directory
.Pa objects ,
.It Reference Delta Objects
This object is represented as a delta against another object in the
same pack file.
-The other object is referred to by its SHA1 object identifier.
+The other object is referred to by its object identifier.
.El
.Pp
Pack files are self-contained and may not refer to loose objects or
blob - a3a247e21318a437ab4b94e79a0a02cca93ad2f8
blob + 3a07a96f0bf325a09d439ab3ce5bff31c45c5467
--- got/got-worktree.5
+++ got/got-worktree.5
.It Pa .got
Meta-data directory where all files listed below reside.
.It Pa base-commit
-SHA1 hex-string representation of the current base commit.
+hash digest hex-string representation of the current base commit.
.It Pa file-index
File status information.
.It Pa format
blob - 8d7484c497a231b5351f541295c4fa4d6609a5e0
blob + e8ba52065551df14af68029e8d1426f574f9d9e1
--- got/got.1
+++ got/got.1
.Pp
The expected
.Ar commit
-argument is a commit ID SHA1 hash, or a reference name or a keyword
+argument is a commit ID, or a reference name or a keyword
which will be resolved to a commit ID.
-An abbreviated hash argument will be expanded to a full SHA1 hash
+An abbreviated hash argument will be expanded to a full commit ID
automatically, provided the abbreviation is unique.
The keywords
.Qq :base
.Pp
The expected
.Ar commit
-argument is a commit ID SHA1 hash, or a reference name or a keyword
+argument is a commit ID, or a reference name or a keyword
which will be resolved to a commit ID.
-An abbreviated hash argument will be expanded to a full SHA1 hash
+An abbreviated hash argument will be expanded to a full commit ID
automatically, provided the abbreviation is unique.
The keywords
.Qq :base
.Pp
The expected
.Ar commit
-argument is a commit ID SHA1 hash, or a reference name or a keyword
+argument is a commit ID, or a reference name or a keyword
which will be resolved to a commit ID.
-An abbreviated hash argument will be expanded to a full SHA1 hash
+An abbreviated hash argument will be expanded to a full commit ID
automatically, provided the abbreviation is unique.
The keywords
.Qq :base
work tree, use the repository path associated with this work tree.
.It Fl S Ar search-pattern
If specified, show only commits with a log message, author name,
-committer name, or ID SHA1 hash matched by the extended regular
+committer name, or commit ID matched by the extended regular
expression
.Ar search-pattern .
Lines in committed patches will be matched if
.Fl c ,
the expected
.Ar commit
-argument is a commit ID SHA1 hash, or a reference name or a keyword
+argument is a commit ID, or a reference name or a keyword
which will be resolved to a commit ID.
This option has no effect if the specified
.Ar commit
arguments are specified, only show changes within the specified paths.
.Pp
If two arguments are provided, treat each argument as a reference, a tag
-name, or an object ID SHA1 hash, and display differences between the
+name, or an object ID, and display differences between the
corresponding objects.
Both objects must be of the same type (blobs, trees, or commits).
-An abbreviated hash argument will be expanded to a full SHA1 hash
+An abbreviated hash argument will be expanded to a full commit ID
automatically, provided the abbreviation is unique.
If none of these interpretations produce a valid result or if the
.Fl P
.Pp
The expected
.Ar commit
-argument is a commit ID SHA1 hash, or a reference name or a keyword
+argument is a commit ID, or a reference name or a keyword
which will be resolved to a commit ID.
-An abbreviated hash argument will be expanded to a full SHA1 hash
+An abbreviated hash argument will be expanded to a full commit ID
automatically, provided the abbreviation is unique.
The keywords
.Qq :base
.It Fl c Ar commit
Start traversing history at the specified
.Ar commit .
-The expected argument is a commit ID SHA1 hash, or a reference name
+The expected argument is a commit ID, or a reference name
or a keyword which will be resolved to a commit ID.
-An abbreviated hash argument will be expanded to a full SHA1 hash
+An abbreviated hash argument will be expanded to a full commit ID
automatically, provided the abbreviation is unique.
The keywords
.Qq :base
List files and directories as they appear in the specified
.Ar commit .
.Pp
-The expected argument is a commit ID SHA1 hash, or a reference name
+The expected argument is a commit ID, or a reference name
or a keyword which will be resolved to a commit ID.
-An abbreviated hash argument will be expanded to a full SHA1 hash
+An abbreviated hash argument will be expanded to a full commit ID
automatically, provided the abbreviation is unique.
The keywords
.Qq :base
.Pp
The expected
.Ar object
-argument is an ID SHA1 hash or an existing reference or tag name
+argument is an object ID or an existing reference or tag name
or a keyword which will be resolved to the ID of a corresponding commit,
tree, tag, or blob object.
-An abbreviated hash argument will be expanded to a full SHA1 hash
+An abbreviated hash argument will be expanded to a full commit ID
automatically, provided the abbreviation is unique.
The keywords
.Qq :base
.It Fl c Ar commit
Make a newly created branch reference point at the specified
.Ar commit .
-The expected argument is a commit ID SHA1 hash, or a reference name or keyword
+The expected argument is a commit ID, or a reference name or keyword
which will be resolved to a commit ID.
-An abbreviated hash argument will be expanded to a full SHA1 hash
+An abbreviated hash argument will be expanded to a full commit ID
automatically, provided the abbreviation is unique.
The keywords
.Qq :base
.Ar commit .
The expected
.Ar commit
-argument is a commit ID SHA1 hash, or a reference or keyword
+argument is a commit ID, or a reference or keyword
which will be resolved to a commit ID.
-An abbreviated hash argument will be expanded to a full SHA1 hash
+An abbreviated hash argument will be expanded to a full commit ID
automatically, provided the abbreviation is unique.
The keywords
.Qq :base
.Pp
The expected
.Ar commit
-argument is a commit ID SHA1 hash, or a reference name or a keyword
+argument is a commit ID, or a reference name or a keyword
which will be resolved to a commit ID.
-An abbreviated hash argument will be expanded to a full SHA1 hash
+An abbreviated hash argument will be expanded to a full commit ID
automatically, provided the abbreviation is unique.
The keywords
.Qq :base
.Ar commit
should be on a different branch than the work tree's base commit.
.Pp
-The expected argument is a commit ID SHA1 hash, or a reference name or
+The expected argument is a commit ID, or a reference name or
keyword which will be resolved to a commit ID.
-An abbreviated hash argument will be expanded to a full SHA1 hash
+An abbreviated hash argument will be expanded to a full commit ID
automatically, provided the abbreviation is unique.
The keywords
.Qq :base
.Ar commit
should be on the same branch as the work tree's base commit.
.Pp
-The expected argument is a commit ID SHA1 hash, or a reference name
+The expected argument is a commit ID, or a reference name
or keyword which will be resolved to a commit ID.
-An abbreviated hash argument will be expanded to a full SHA1 hash
+An abbreviated hash argument will be expanded to a full commit ID
automatically, provided the abbreviation is unique.
The keywords
.Qq :base
The format of the histedit script is line-based.
Each line in the script begins with a command name, followed by
whitespace and an argument.
-For most commands, the expected argument is a commit ID SHA1 hash.
+For most commands, the expected argument is a commit ID.
Any remaining text on the line is ignored.
Lines which begin with the
.Sq #
Blob object contents are printed as they would appear in files on disk.
.Pp
Attempt to interpret each argument as a reference, a tag name, or
-an object ID SHA1 hash.
+an object ID.
References will be resolved to an object ID.
Tag names will resolved to a tag object.
-An abbreviated hash argument will be expanded to a full SHA1 hash
+An abbreviated hash argument will be expanded to a full commit ID
automatically, provided the abbreviation is unique.
.Pp
If none of the above interpretations produce a valid result, or if the
If this option is not used, paths are looked up in the commit resolved
via the repository's HEAD reference.
.Pp
-The expected argument is a commit ID SHA1 hash, or a reference name
+The expected argument is a commit ID, or a reference name
or keyword which will be resolved to a commit ID.
-An abbreviated hash argument will be expanded to a full SHA1 hash
+An abbreviated hash argument will be expanded to a full commit ID
automatically, provided the abbreviation is unique.
The keywords
.Qq :base
blob - d8658727083f485410ad107da6f6be22bc730f01
blob + df994b229891a4a8a5d0f863fe8b5e815bc640f1
--- tog/tog.1
+++ tog/tog.1
Prompt for a search pattern and start searching for matching commits.
The search pattern is an extended regular expression which is matched
against a commit's author name, committer name, log message, and
-commit ID SHA1 hash.
+commit ID.
Regular expression syntax is documented in
.Xr re_format 7 .
.It Cm &
will search the limited list of commits, rather than searching all commits.
The pattern is an extended regular expression which is matched
against a commit's author name, committer name, log message, and
-commit ID SHA1 hash.
+commit ID.
Regular expression syntax is documented in
.Xr re_format 7 .
.It Cm n
.It Fl c Ar commit
Start traversing history at the specified
.Ar commit .
-The expected argument is a commit ID SHA1 hash, or a reference name or keyword
+The expected argument is a commit ID, or a reference name or keyword
which will be resolved to a commit ID.
-An abbreviated hash argument will be expanded to a full SHA1 hash
+An abbreviated hash argument will be expanded to a full commit ID
automatically, provided the abbreviation is unique.
The keywords
.Qq :base
.Xc
Display the differences between two objects in the repository.
Treat each of the two arguments as a reference, a tag name, an object
-ID SHA1 hash, or a keyword and display differences between the corresponding
+ID, or a keyword and display differences between the corresponding
objects.
Both objects must be of the same type (blobs, trees, or commits).
-An abbreviated hash argument will be expanded to a full SHA1 hash
+An abbreviated hash argument will be expanded to a full commit ID
automatically, provided the abbreviation is unique.
The keywords
.Qq :base
.It Fl c Ar commit
Start traversing history at the specified
.Ar commit .
-The expected argument is a commit ID SHA1 hash, or a reference name or keyword
+The expected argument is a commit ID, or a reference name or keyword
which will be resolved to a commit ID.
-An abbreviated hash argument will be expanded to a full SHA1 hash
+An abbreviated hash argument will be expanded to a full commit ID
automatically, provided the abbreviation is unique.
The keywords
.Qq :base
.It Fl c Ar commit
Start traversing history at the specified
.Ar commit .
-The expected argument is a commit ID SHA1 hash, or a reference name or keyword
+The expected argument is a commit ID, or a reference name or keyword
which will be resolved to a commit ID.
-An abbreviated hash argument will be expanded to a full SHA1 hash
+An abbreviated hash argument will be expanded to a full commit ID
automatically, provided the abbreviation is unique.
The keywords
.Qq :base