threads / patch / 61460

v2documentation: git-update-index: add --show-index-version to synopsis

Subject: [PATCH v2] documentation: git-update-index: add --show-index-version to synopsis

## tl;dr

One message between May 12, 2024 and May 12, 2024. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Dov Murik· May 12, 2024, 03:14 UTC · lore

In 606e088d5d (update-index: add --show-index-version, 2023-09-12), we added the new '--show-index-version' option to 'git-update-index' and documented it, but forgot to add it to the synopsis section.

Add '--show-index-version' to the synopsis of 'git-update-index'.
Signed-off-by: Dov Murik <dov.murik@linux.dev>
---
Range-diff against v1:
1:  da0359eef3 ! 1:  1de0c0d221 documentation: git-update-index: add --show-index-version to synopsis
    @@ Metadata
      ## Commit message ##
         documentation: git-update-index: add --show-index-version to synopsis
     
    -    Fixes: 606e088d5d9a ("update-index: add --show-index-version")
    +    In 606e088d5d (update-index: add --show-index-version, 2023-09-12), we
    +    added the new '--show-index-version' option to 'git-update-index' and
    +    documented it, but forgot to add it to the synopsis section.
    +
    +    Add '--show-index-version' to the synopsis of 'git-update-index'.
    +
         Signed-off-by: Dov Murik <dov.murik@linux.dev>
     
      ## Documentation/git-update-index.txt ##
 Documentation/git-update-index.txt | 1 +
 1 file changed, 1 insertion(+)
Show changes to Documentation/git-update-index.txt +1 −0
diff --git a/Documentation/git-update-index.txt b/Documentation/git-update-index.txt
index 8c47890a6a..7128aed540 100644
--- a/Documentation/git-update-index.txt
+++ b/Documentation/git-update-index.txt
@@ -25,6 +25,7 @@ SYNOPSIS
 	     [--really-refresh] [--unresolve] [--again | -g]
 	     [--info-only] [--index-info]
 	     [-z] [--stdin] [--index-version <n>]
+	     [--show-index-version]
 	     [--verbose]
 	     [--] [<file>...]
 

base-commit: 3402c0e53fb798cb471dd6562eb5c938885b7295
-- 
2.39.3 (Apple Git-146)

← back to recent threads