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

Re: [PATCH/RFC] pretty.c: add %O format specifier to format_commit_one()

From
Junio C Hamano <gitster@pobox.com>
Date
May 1, 2010, 17:18 UTC
Message-ID
<7vsk6b5yms.fsf@alter.siamese.dyndns.org>
In-Reply-To
<1272711401-29005-1-git-send-email-ash@koowaldah.org>
Alexander Shishkin <ash@koowaldah.org> writes:
> This specifier represents the number of each commit in the output
> stream.

I don't like this. What does such a number _mean_ in a non-linear history?

Also the next person who sees this will inevitably ask for %TOTAL to so that the output can say [N/M], but that would mean the list has to be limited and we cannot stream the output anymore.

Previous: Alexander ShishkinNext: Alexander Shishkin
Message 2 of 5 in “pretty.c: add %O format specifier to format_commit_one()”
  1. pretty.c: add %O format specifier to format_commit_one()Alexander Shishkin, May 1, 2010
  2. Junio C HamanoMay 1, 2010
  3. Alexander ShishkinMay 1, 2010
  4. Jakub NarebskiMay 1, 2010
  5. Jeff KingMay 2, 2010

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.