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
Junio C Hamano <gitster@pobox.com>
Date
Feb 11, 2022, 19:20 UTC
Message-ID
<xmqq5yplb46m.fsf@gitster.g>
In-Reply-To
<CAMMLpeTBstt8qo2q6r=YCEi-h-G-EkjY=d7kHKeepzTvz1gmJg@mail.gmail.com>
Alex Henrie <alexhenrie24@gmail.com> writes:
> What if we make log.graph=true also require feature.experimental=true?

No. feature.experimental is to give people an opt-in opportunity for features that we are considering to enable by default.

> 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.

Those who want to see log by default must need to twaek their configuration. Instead of doing "git config log.graph true" and breaking tools, they can do "git config alias.mylog 'log --graph'" with the same ease, without breaking anything.

So...
Previous: Alex HenrieNext: Junio C Hamano
Message 8 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.