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

Re: [PATCH] In `git log --graph`, default to --pretty=oneline --abbrev-commit

From
Alex Henrie <alexhenrie24@gmail.com>
Date
Mar 24, 2019, 22:37 UTC
Message-ID
<CAMMLpeQbz5qHyK8e4gZ0zKQ5na+zQCd49GZifKZ_iO-gXrs1Gg@mail.gmail.com>
In-Reply-To
<xmqq36ncpgpe.fsf@gitster-ct.c.googlers.com>
On Sun, Mar 24, 2019 at 7:03 AM Junio C Hamano <gitster@pobox.com> wrote:
Show 19 quoted lines
>
> Alex Henrie <alexhenrie24@gmail.com> writes:
>
> > Having --pretty=medium as the default almost always makes the graph too
> > difficult to follow.
> >
> > Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
> > ---
>
> I too thought that "--graph" should make "--oneline" the default
> back when I originally accepted the patch series that introduced the
> "--graph" feature, but with frequent use of "--graph" myself, I
> stopped being sure that "--oneline" should be the default long time
> ago.  I find that the default level of prettiness goes reasonably
> well with the "--graph" option.
>
> This would be something that needs a long transition period if
> somebody really wants to force people to adapt to it.  I am not sure
> if the complication is worth it.
Can we compromise and make --pretty=short the default for --graph?
-Alex
Previous: Ævar Arnfjörð BjarmasonNext: Rafael Ascensão
Message 5 of 10 in “In `git log --graph`, default to --pretty=oneline --abbrev-commit”
  1. In `git log --graph`, default to --pretty=oneline --abbrev-commitAlex Henrie, Mar 23, 2019
  2. Abhisek Ghosh, Mar 23, 2019
  3. Junio C HamanoMar 24, 2019
  4. Ævar Arnfjörð BjarmasonMar 24, 2019
  5. Alex HenrieMar 24, 2019
  6. Rafael AscensãoMar 25, 2019
  7. Alex HenrieMar 25, 2019
  8. Alex HenrieMar 25, 2019
  9. Junio C HamanoApr 1, 2019
  10. Alex HenrieMar 27, 2019

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.