Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: [PATCH] Documentation: update-index: -z applies also to --index-info

From: Bert Wesarg <hidden>
Date: 2016-06-15 22:49:43

Possibly related (same subject, not in this thread)

On Thu, Oct 7, 2010 at 21:36, Štěpán Němec [off-list ref] wrote:
Bert Wesarg [off-list ref] writes:
quoted
Also mention, that --stdin and --index-info needs to be the last
option supplied and indicate this in the usage string.

Signed-off-by: Bert Wesarg <redacted>
---
 Documentation/git-update-index.txt |   13 +++++++------
 builtin/update-index.c             |    2 +-
 2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/Documentation/git-update-index.txt
b/Documentation/git-update-index.txt
index 74d1d49..022c0fc 100644 Documentation/git-update-index.txt
--- a/Documentation/git-update-index.txt
+++ b/Documentation/git-update-index.txt
@@ -18,10 +18,10 @@ SYNOPSIS
           [--skip-worktree | --no-skip-worktree]
           [--ignore-submodules]
           [--really-refresh] [--unresolve] [--again | -g]
-          [--info-only] [--index-info]
-          [-z] [--stdin]
+          [--info-only]
           [--verbose]
-          [--] [<file>]*
+          [[-z] --stdin | --index-info]
+          [--] [<file>]
If you want to remove the asterisk after all, then please make it
`<file>...', not `[<file>]'.
Sorry. That was only by accident. Updated patch will follow.

Bert
Štěpán
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help