All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Osipov, Michael (IN IT IN)" <michael.osipov@innomotics.com>
To: git@vger.kernel.org
Subject: bisect does not respect 'log.date'
Date: Wed, 13 Mar 2024 12:07:22 +0100	[thread overview]
Message-ID: <645c8253-f1ef-410f-8284-7d6c8b6db601@siemens.com> (raw)

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':
> 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
> 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
> 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

             reply	other threads:[~2024-03-13 11:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-13 11:07 Osipov, Michael (IN IT IN) [this message]
2024-03-13 18:24 ` bisect does not respect 'log.date' Junio C Hamano
2024-03-13 19:26   ` Osipov, Michael (IN IT IN)
2024-03-25 20:27     ` Peter Krefting
2024-03-25 21:49       ` Junio C Hamano
2024-03-28 20:53         ` [RFC PATCH] bisect: Honor log.date Peter Krefting
2024-03-28 21:38           ` Eric Sunshine
2024-03-28 23:18             ` Peter Krefting

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=645c8253-f1ef-410f-8284-7d6c8b6db601@siemens.com \
    --to=michael.osipov@innomotics.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.