about summary refs log tree commit diff
path: root/third_party/git/Documentation/git-show-index.txt
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/Documentation/git-show-index.txt')
-rw-r--r--third_party/git/Documentation/git-show-index.txt13
1 files changed, 12 insertions, 1 deletions
diff --git a/third_party/git/Documentation/git-show-index.txt b/third_party/git/Documentation/git-show-index.txt
index 424e4ba84c..e49318a5a0 100644
--- a/third_party/git/Documentation/git-show-index.txt
+++ b/third_party/git/Documentation/git-show-index.txt
@@ -9,7 +9,7 @@ git-show-index - Show packed archive index
 SYNOPSIS
 --------
 [verse]
-'git show-index'
+'git show-index' [--object-format=<hash-algorithm>]
 
 
 DESCRIPTION
@@ -36,6 +36,17 @@ Note that you can get more information on a packfile by calling
 linkgit:git-verify-pack[1]. However, as this command considers only the
 index file itself, it's both faster and more flexible.
 
+OPTIONS
+-------
+
+--object-format=<hash-algorithm>::
+	Specify the given object format (hash algorithm) for the index file.  The
+	valid values are 'sha1' and (if enabled) 'sha256'.  The default is the
+	algorithm for the current repository (set by `extensions.objectFormat`), or
+	'sha1' if no value is set or outside a repository..
++
+include::object-format-disclaimer.txt[]
+
 GIT
 ---
 Part of the linkgit:git[1] suite