about summary refs log tree commit diff
path: root/third_party/git/Documentation/git-rev-parse.txt
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/Documentation/git-rev-parse.txt')
-rw-r--r--third_party/git/Documentation/git-rev-parse.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/third_party/git/Documentation/git-rev-parse.txt b/third_party/git/Documentation/git-rev-parse.txt
index e72d332b8316..19b12b6d43ce 100644
--- a/third_party/git/Documentation/git-rev-parse.txt
+++ b/third_party/git/Documentation/git-rev-parse.txt
@@ -262,7 +262,8 @@ print a message to stderr and exit with nonzero status.
 	directory.
 
 --show-toplevel::
-	Show the absolute path of the top-level directory.
+	Show the absolute path of the top-level directory of the working
+	tree. If there is no working tree, report an error.
 
 --show-superproject-working-tree::
 	Show the absolute path of the root of the superproject's
@@ -274,6 +275,13 @@ print a message to stderr and exit with nonzero status.
 	Show the path to the shared index file in split index mode, or
 	empty if not in split-index mode.
 
+--show-object-format[=(storage|input|output)]::
+	Show the object format (hash algorithm) used for the repository
+	for storage inside the `.git` directory, input, or output. For
+	input, multiple algorithms may be printed, space-separated.
+	If not specified, the default is "storage".
+
+
 Other Options
 ~~~~~~~~~~~~~