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

bisect does not respect 'log.date'

From
OIOsipov, Michael (IN IT IN) <michael.osipov@innomotics.com>
Date
Mar 13, 2024, 11:07 UTC
Message-ID
<645c8253-f1ef-410f-8284-7d6c8b6db601@siemens.com>
Folks,
I am running git version 2.43.0 and consider the following config:
> $ git config --system --list
> core.eol=native
> log.date=iso-strict
> color.ui=auto
So date output looks fine with 'log' and 'show':
Show 8 quoted lines
> osipovmi@deblndw011x:~/var/Projekte/tomcat-native ((ba1454e15...)|BISECTING)
> $ git log
> commit ba1454e15619a44fe66d86f59c766c0cc25323eb (HEAD)
> Author: Mark Thomas <markt@apache.org>
> Date:   2024-02-13T08:27:43+00:00
> 
>     Fix link
> 
and
Show 8 quoted lines
> osipovmi@deblndw011x:~/var/Projekte/tomcat-native ((ba1454e15...)|BISECTING)
> $ git show HEAD^
> commit ef40b6d00c4bdaa23960b5dc0eaac28cce758d29
> Author: Mark Thomas <markt@apache.org>
> Date:   2024-02-06T16:40:25+00:00
> 
>     Update minimum APR version in a few more places
> 
now let's bisect:
> osipovmi@deblndw011x:~/var/Projekte/tomcat-native (apache-1.3.x =)
> $ git bisect start HEAD HEAD~4
> Binäre Suche: danach noch 1 Commit zum Testen übrig (ungefähr 1 Schritt)
> [ef40b6d00c4bdaa23960b5dc0eaac28cce758d29] Update minimum APR version in a few more places
...fast forward
Show 11 quoted lines
> osipovmi@deblndw011x:~/var/Projekte/tomcat-native ((ba1454e15...)|BISECTING)
> $ git bisect bad
> ba1454e15619a44fe66d86f59c766c0cc25323eb is the first bad commit
> commit ba1454e15619a44fe66d86f59c766c0cc25323eb
> Author: Mark Thomas <markt@apache.org>
> Date:   Tue Feb 13 08:27:43 2024 +0000
> 
>     Fix link
> 
>  xdocs/news/project.xml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
The config for date format is ignored. Is uses the default value.
An oversight or bug?
Michael
Next: Junio C Hamano
Message 1 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.