Re: [GSoC RFC PATCH v2] graph: add --max-columns option to limit displayed columns
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Mar 19, 2026, 07:07 UTC
- Message-ID
- <42b146ed-1c53-4b4b-9ead-99d924bec501@kdbg.org>
- In-Reply-To
- <CAN5EUNT7co=ucbBRykXdLJDUdewvoh+cMVbbOOUuRTrv7j2u5A@mail.gmail.com>
Am 18.03.26 um 19:20 schrieb Pablo:
Show 9 quoted lines
> Junio C Hamano (<gitster@pobox.com>) writes:>> If the option is named clearly to be related to the "--graph" >> feature, another way to go is to make it imply "--graph". If the >> user says "I want to limit the graph output to consume no more than >> 10 leftmost columns", it is clear that the user expects the graph to >> be shown. > > I'll make the name clearer about what it does and less selfish. I like > the idea about --graph-limit-lanes to imply --graph directly and not > force it to be explicit.
Don't let this option imply --graph. It specifies a parameter that could also reasonably be specified via a configuration. But we don't want that the existence of the hypothetical configuration implies --graph.
How about --edge-limit or --lane-limit?
-- Hannes