Re: Git 2.36, ls-tree submodule regression?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Thu, 7 Apr 2022, Teng Long wrote:

> > Bisecting the error selects:
> >
> > $ git bisect good
> > 9c4d58ff2c385f49585197c8650356955e1fa02e is the first bad commit
> > commit 9c4d58ff2c385f49585197c8650356955e1fa02e
> > Author: Ævar Arnfjörð Bjarmason <avarab@xxxxxxxxx>
> > Date:   Wed Mar 23 17:13:15 2022 +0800
> >
> >     ls-tree: split up "fast path" callbacks
> >
> >     Make the various if/else in the callbacks for the "fast path" a lot
> >     easier to read by just using common functions for the parts that are
> >     common, and have per-format callbacks for those parts that are
> >     different.
> >
> >     Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@xxxxxxxxx>
> >     Signed-off-by: Teng Long <dyroneteng@xxxxxxxxx>
> >     Signed-off-by: Junio C Hamano <gitster@xxxxxxxxx>
> >
> >  builtin/ls-tree.c | 199 ++++++++++++++++++++++++++++++++++--------------------
> >  1 file changed, 125 insertions(+), 74 deletions(-)
> >
> > (I've CC'd Ævar and Teng on this message.)
> >
> > Looking at the changes in that commit I see differences in the
> > handling for long listings, so I tried removing the -l. At that point,
> > the command works again:
>
> Yes, it's a bug but already found and fixed by Ævar Arnfjörð Bjarmason.

Correction, it was fixed by Josh Steadmon, and Ævar proposed an
alternative, but Josh's version made it into the `main` branch:

https://github.com/git/git/commit/350296cc78912c245847ec65e55143053450cce1

Ciao,
Johannes

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux