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

Re: [RFC PATCH] bisect: Honor log.date

From
Peter Krefting <peter@softwolves.pp.se>
Date
Mar 28, 2024, 23:18 UTC
Message-ID
<b3f7c1c7f126a3c0a65f034ed6166d6a@softwolves.pp.se>
In-Reply-To
<CAPig+cSKbGW57dh13T6p20B_EY_C4K=LiQ3TP59wheMSi4qsQA@mail.gmail.com>
2024-03-28 22:38 skrev Eric Sunshine:
Show 5 quoted lines
> Nit: The comment doesn't tell the reader anything that the code itself
> isn't already clearly telling the reader, thus the comment is
> redundant and unnecessary. Moreover, the comment is likely to become
> outdated when people adjust the code but forget to update the comment.
> As such, I'd recommend dropping the comment altogether.

Yes, that does make sense. I copied the code for invoking "git show" from builtin/notes.c, which does have that type of redundant comment.

I'll remove it.
-- 
\\// Peter - http://www.softwolves.pp.se/
Previous: Eric Sunshine
Message 8 of 8 in “bisect does not respect 'log.date'”
  1. Osipov, Michael (IN IT IN)Mar 13, 2024
  2. Junio C HamanoMar 13, 2024
  3. Osipov, Michael (IN IT IN)Mar 13, 2024
  4. Peter KreftingMar 25, 2024
  5. Junio C HamanoMar 25, 2024
  6. bisect: Honor log.datePeter Krefting, Mar 28, 2024
  7. Eric SunshineMar 28, 2024
  8. Peter KreftingMar 28, 2024

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.