git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 3/3] Documentation/git-hash-object.txt: add verbose option for hash-object

From
Alexander Kuleshov <kuleshovmail@gmail.com>
Date
Mar 2, 2015, 13:55 UTC
Message-ID
<1425304535-14484-1-git-send-email-kuleshovmail@gmail.com>
In-Reply-To
<1425304500-14117-1-git-send-email-kuleshovmail@gmail.com>
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
---
 Documentation/git-hash-object.txt | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/Documentation/git-hash-object.txt b/Documentation/git-hash-object.txt
index 02c1f12..efec7c6 100644
--- a/Documentation/git-hash-object.txt
+++ b/Documentation/git-hash-object.txt
@@ -9,8 +9,8 @@ git-hash-object - Compute object ID and optionally creates a blob from a file
 SYNOPSIS
 --------
 [verse]
-'git hash-object' [-t <type>] [-w] [--path=<file>|--no-filters] [--stdin] [--] <file>...
-'git hash-object' [-t <type>] [-w] --stdin-paths [--no-filters] < <list-of-paths>
+'git hash-object' [-t <type>] [-w] [-v] [--path=<file>|--no-filters] [--stdin] [--] <file>...
+'git hash-object' [-t <type>] [-w] [-v] --stdin-paths [--no-filters] < <list-of-paths>
 
 DESCRIPTION
 -----------
@@ -31,6 +31,9 @@ OPTIONS
 -w::
 	Actually write the object into the object database.
 
+-v::
+	Prints file path near the hash.
+
 --stdin::
 	Read the object from standard input instead of from a file.
 
-- 
2.3.1.167.g7f4ba4b.dirty
Previous: Alexander KuleshovNext: Michael J Gruber
Message 3 of 4 in “hash-object: add -v/--verbose option”
  1. 1/3 hash-object: add -v/--verbose optionAlexander Kuleshov, Mar 2, 2015
  2. 2/3 t1007-hash-object: add tests for verbose hash-objectAlexander Kuleshov, Mar 2, 2015
  3. 3/3 Documentation/git-hash-object.txt: add verbose option for hash-objectAlexander Kuleshov, Mar 2, 2015
  4. Michael J GruberMar 2, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.