threads / patch / 61454

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

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

## tl;dr

3 messages between May 10, 2024 and May 12, 2024. Diffs are folded; open one to read it.

replies: 2people: 2as markdown or json

Dov Murik· May 10, 2024, 18:36 UTC · lore
Fixes: 606e088d5d9a ("update-index: add --show-index-version")
Signed-off-by: Dov Murik <dov.murik@linux.dev>
---
 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)
Linus Arver· May 11, 2024, 03:18 UTC · re: Dov Murik · lore

Re: [PATCH] doc: git-update-index: add --show-index-version to synopsis

Hi Dov,
Dov Murik <dov.murik@linux.dev> writes:
> Fixes: 606e088d5d9a ("update-index: add --show-index-version")

I don't think this trailer is a standard one. Also, the "fixes" doesn't really explain much. Perhaps you meant something like

    In 606e088d5d (update-index: add --show-index-version, 2023-09-12),
    we added the new '--show-index-version' option and documented it,
    but forgot to add it to the synopsis section. Do so now.
?
Show 21 quoted lines
> Signed-off-by: Dov Murik <dov.murik@linux.dev>
> ---
>  Documentation/git-update-index.txt | 1 +
>  1 file changed, 1 insertion(+)
>
> 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)
Dov Murik· May 12, 2024, 01:52 UTC · re: Linus Arver · lore

Re: [PATCH] doc: git-update-index: add --show-index-version to synopsis

Hi Linus,
Thank you for looking at this patch.
On Fri, May 10, 2024 at 10:18:36PM -0500, Linus Arver wrote:
Show 7 quoted lines
> Hi Dov,
> 
> Dov Murik <dov.murik@linux.dev> writes:
> 
> > Fixes: 606e088d5d9a ("update-index: add --show-index-version")
> 
> I don't think this trailer is a standard one.
I saw it in Linux kernel patches. From [1]:
    A Fixes: tag indicates that the patch fixes an issue in a previous
    commit. It is used to make it easy to determine where a bug
    originated, which can help review a bug fix. This tag also assists
    the stable kernel team in determining which stable kernel versions
    should receive your fix. This is the preferred method for indicating
    a bug fixed by the patch.
But I now understand it is not used in git patches; sorry about that.
[1] https://www.kernel.org/doc/html/latest/process/submitting-patches.html
Show 8 quoted lines
> Also, the "fixes" doesn't
> really explain much. Perhaps you meant something like
> 
>     In 606e088d5d (update-index: add --show-index-version, 2023-09-12),
>     we added the new '--show-index-version' option and documented it,
>     but forgot to add it to the synopsis section. Do so now.
> 
> ?
Yes, the explicit explanation is clearer. Thank you.
I'll submit a v2 with a clearer commit message.
-Dov
Show 22 quoted lines
> 
> > Signed-off-by: Dov Murik <dov.murik@linux.dev>
> > ---
> >  Documentation/git-update-index.txt | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > 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