public inbox for git@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] doc: add missing commit C to the graph for --ancestry-path=H D..M
@ 2025-03-16  1:47 Han Jiang via GitGitGadget
  2025-03-16  6:53 ` Elijah Newren
  0 siblings, 1 reply; 3+ messages in thread
From: Han Jiang via GitGitGadget @ 2025-03-16  1:47 UTC (permalink / raw)
  To: git; +Cc: Han Jiang, Han Jiang

From: Han Jiang <jhcarl0814@gmail.com>

The graph for `--ancestry-path=H D..M` should contain commit C.

Signed-off-by: Han Jiang <jhcarl0814@gmail.com>
---
    doc: add missing commit C to the graph for --ancestry-path=H D..M
    
    cc:Elijah Newren newren@gmail.com,D. Ben Knoble ben.knoble@gmail.com

Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1883%2Fjhcarl0814%2Fpatch_ancestry_path_doc_graph_20250315-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1883/jhcarl0814/patch_ancestry_path_doc_graph_20250315-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/1883

 Documentation/rev-list-options.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/rev-list-options.adoc b/Documentation/rev-list-options.adoc
index 785c0786e0c..5e5cedb9127 100644
--- a/Documentation/rev-list-options.adoc
+++ b/Documentation/rev-list-options.adoc
@@ -640,7 +640,7 @@ commits affected by that topic, we may only want to view the subset of
 -----------------------------------------------------------------------
 		E
 		 \
-		  G---H---I---J
+	      C---G---H---I---J
 			       \
 				L--M
 -----------------------------------------------------------------------

base-commit: 683c54c999c301c2cd6f715c411407c413b1d84e
-- 
gitgitgadget

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] doc: add missing commit C to the graph for --ancestry-path=H D..M
  2025-03-16  1:47 [PATCH] doc: add missing commit C to the graph for --ancestry-path=H D..M Han Jiang via GitGitGadget
@ 2025-03-16  6:53 ` Elijah Newren
  2025-03-16  9:36   ` Han Jiang
  0 siblings, 1 reply; 3+ messages in thread
From: Elijah Newren @ 2025-03-16  6:53 UTC (permalink / raw)
  To: Han Jiang via GitGitGadget; +Cc: git, Han Jiang

On Sat, Mar 15, 2025 at 6:47 PM Han Jiang via GitGitGadget
<gitgitgadget@gmail.com> wrote:
>
> From: Han Jiang <jhcarl0814@gmail.com>
>
> The graph for `--ancestry-path=H D..M` should contain commit C.

Yep, C is in the range D..M and C is also an ancestor of H.

> Signed-off-by: Han Jiang <jhcarl0814@gmail.com>
> ---
>     doc: add missing commit C to the graph for --ancestry-path=H D..M
>
>     cc:Elijah Newren newren@gmail.com,D. Ben Knoble ben.knoble@gmail.com

In the future, you'll probably want to use separate cc lines for each
person you are cc'ing; I think gitgitgadget expects that to work.  You
also might want to add a space after the "cc:", though I don't know if
that's required.

> Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1883%2Fjhcarl0814%2Fpatch_ancestry_path_doc_graph_20250315-v1
> Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1883/jhcarl0814/patch_ancestry_path_doc_graph_20250315-v1
> Pull-Request: https://github.com/gitgitgadget/git/pull/1883
>
>  Documentation/rev-list-options.adoc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/rev-list-options.adoc b/Documentation/rev-list-options.adoc
> index 785c0786e0c..5e5cedb9127 100644
> --- a/Documentation/rev-list-options.adoc
> +++ b/Documentation/rev-list-options.adoc
> @@ -640,7 +640,7 @@ commits affected by that topic, we may only want to view the subset of
>  -----------------------------------------------------------------------
>                 E
>                  \
> -                 G---H---I---J
> +             C---G---H---I---J
>                                \
>                                 L--M
>  -----------------------------------------------------------------------
>
> base-commit: 683c54c999c301c2cd6f715c411407c413b1d84e
> --
> gitgitgadget

Patch looks good.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] doc: add missing commit C to the graph for --ancestry-path=H D..M
  2025-03-16  6:53 ` Elijah Newren
@ 2025-03-16  9:36   ` Han Jiang
  0 siblings, 0 replies; 3+ messages in thread
From: Han Jiang @ 2025-03-16  9:36 UTC (permalink / raw)
  To: Elijah Newren; +Cc: Han Jiang via GitGitGadget, git

On Sun, Mar 16, 2025 at 7:53 PM Elijah Newren <newren@gmail.com> wrote:
>
> In the future, you'll probably want to use separate cc lines for each
> person you are cc'ing; I think gitgitgadget expects that to work.  You
> also might want to add a space after the "cc:", though I don't know if
> that's required.

Thank you for your suggestion! I will follow it next time.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-03-16  9:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-16  1:47 [PATCH] doc: add missing commit C to the graph for --ancestry-path=H D..M Han Jiang via GitGitGadget
2025-03-16  6:53 ` Elijah Newren
2025-03-16  9:36   ` Han Jiang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox