summaryrefslogtreecommitdiffstats
path: root/git-rev-parse.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-03-28 14:37:43 -0700
committerJunio C Hamano <gitster@pobox.com>2024-03-28 14:37:43 -0700
commitc416a71a462b776d9f3924af7dbfda8bd4f87bdf (patch)
tree382b0ef1b5f3124d04d7989e4f2e5703ca5f2d5f /git-rev-parse.txt
parent8842ccc9dc941b70fd8eccbfcd41acac8627f67f (diff)
downloadgit-htmldocs-c416a71a462b776d9f3924af7dbfda8bd4f87bdf.tar.gz
Autogenerated HTML docs for v2.44.0-413-gd6fd0
Diffstat (limited to 'git-rev-parse.txt')
-rw-r--r--git-rev-parse.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/git-rev-parse.txt b/git-rev-parse.txt
index 5d83dd36d..f9d5a35fa 100644
--- a/git-rev-parse.txt
+++ b/git-rev-parse.txt
@@ -159,6 +159,18 @@ for another option.
unfortunately named tag "master"), and shows them as full
refnames (e.g. "refs/heads/master").
+--output-object-format=(sha1|sha256|storage)::
+
+ Allow oids to be input from any object format that the current
+ repository supports.
+
+ Specifying "sha1" translates if necessary and returns a sha1 oid.
+
+ Specifying "sha256" translates if necessary and returns a sha256 oid.
+
+ Specifying "storage" translates if necessary and returns an oid in
+ encoded in the storage hash algorithm.
+
Options for Objects
~~~~~~~~~~~~~~~~~~~