Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-07-06 21:54:47 +0300
committerJunio C Hamano <gitster@pobox.com>2023-07-06 21:54:47 +0300
commit1d76e69212102c3373b552186590b76d6ad8d84c (patch)
treead22a67831a6528677e1bcbb3117f2634550b9c2
parent391414e971d552e5e0fa1363347ec2c076062daf (diff)
parentd4f28279ada8c8dce6cb13a0c4a13b8d06000af8 (diff)
Merge branch 'jc/doc-hash-object-types'
Doc update. * jc/doc-hash-object-types: docs: add git hash-object -t option's possible values
-rw-r--r--Documentation/git-hash-object.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/git-hash-object.txt b/Documentation/git-hash-object.txt
index 472b5bb995..8577f7a7d4 100644
--- a/Documentation/git-hash-object.txt
+++ b/Documentation/git-hash-object.txt
@@ -3,7 +3,7 @@ git-hash-object(1)
NAME
----
-git-hash-object - Compute object ID and optionally creates a blob from a file
+git-hash-object - Compute object ID and optionally create an object from a file
SYNOPSIS
@@ -25,7 +25,8 @@ OPTIONS
-------
-t <type>::
- Specify the type (default: "blob").
+ Specify the type of object to be created (default: "blob"). Possible
+ values are `commit`, `tree`, `blob`, and `tag`.
-w::
Actually write the object into the object database.