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

Re: [PATCH v3 4/4] gitk: pass --no-graph to `git log`

From
Alex Henrie <alexhenrie24@gmail.com>
Date
Feb 11, 2022, 19:05 UTC
Message-ID
<CAMMLpeTBstt8qo2q6r=YCEi-h-G-EkjY=d7kHKeepzTvz1gmJg@mail.gmail.com>
In-Reply-To
<xmqq1r09clxl.fsf@gitster.g>
On Fri, Feb 11, 2022 at 11:12 AM Junio C Hamano <gitster@pobox.com> wrote:
Show 15 quoted lines
>
> Alex Henrie <alexhenrie24@gmail.com> writes:
>
> >  gitk-git/gitk | 9 +++++----
> >  1 file changed, 5 insertions(+), 4 deletions(-)
>
> Please base a patch on gitk part to base on Paul's tree, not mine,
> meaning that the first few lines of diff should begin like so:
>
>         diff --git a/gitk b/gitk
>         index ...
>         --- a/gitk
>         +++ b/gitk
>
> and not as part of the series.

Okay. I'll hang onto this patch until the previous one in the series is accepted.

Show 6 quoted lines
> What the first two patches want to do is a good thing regardless, so
> I'll take a deeper look at them and queue them.  I am very skeptical
> to log.graph=yes/no configuration for obvious reasons that setting
> such a variable *will* break existing tools and users.  It is not
> even "it might break but we don't know until we try", as this patch
> loudly demonstrates.

What if we make log.graph=true also require feature.experimental=true? The log.graph option would really be a useful feature for people who use Git exclusively from the CLI without any external tools. It seems that the main challenge is how to give others time to adjust.

Thanks for all the feedback,
-Alex
Previous: Junio C HamanoNext: Junio C Hamano
Message 7 of 13 in “log: fix memory leak if --graph is passed multiple times”
  1. 1/4 log: fix memory leak if --graph is passed multiple timesAlex Henrie, Feb 11, 2022
  2. 2/4 log: add a --no-graph optionAlex Henrie, Feb 11, 2022
  3. Junio C HamanoFeb 11, 2022
  4. Alex HenrieFeb 11, 2022
  5. 4/4 gitk: pass --no-graph to `git log`Alex Henrie, Feb 11, 2022
  6. Junio C HamanoFeb 11, 2022
  7. Alex HenrieFeb 11, 2022
  8. Junio C HamanoFeb 11, 2022
  9. Junio C HamanoFeb 11, 2022
  10. Alex HenrieFeb 11, 2022
  11. Alex HenrieFeb 11, 2022
  12. 3/4 log: add a log.graph config optionAlex Henrie, Feb 11, 2022
  13. Junio C HamanoFeb 11, 2022

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.