Re: Git clean enumerates ignored directories (since 2.27)

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

 



Yes, sorry, I've just been swamped.  It's still on my list to look at.

On Thu, Apr 22, 2021 at 10:18 AM Jason Gore <Jason.Gore@xxxxxxxxxxxxx> wrote:
>
> Sorry to add noise to this thread but since the github issue was closed I wanted to make sure I'm not missing any updates here. Would any updates come through on this thread? Thanks!
>
> -----Original Message-----
> From: Jeff King <peff@xxxxxxxx>
> Sent: Thursday, April 15, 2021 1:52 AM
> To: brian m. carlson <sandals@xxxxxxxxxxxxxxxxxxxx>
> Cc: Jason Gore <Jason.Gore@xxxxxxxxxxxxx>; git@xxxxxxxxxxxxxxx; Elijah Newren <newren@xxxxxxxxx>
> Subject: Re: Git clean enumerates ignored directories (since 2.27)
>
> On Wed, Apr 14, 2021 at 10:56:14PM +0000, brian m. carlson wrote:
>
> > ----
> > #!/bin/sh
> >
> > git init test-repo
> > cd test-repo
> > longname="directory"
> > touch "$longname.txt"
> > last=400
> > for x in $(seq 1 $last); do
> >   mkdir "x$longname$x"
> >   mv directory* "x$longname$x"
> >   mv "x$longname$x" "$longname$x"
> > done
> > git clean -ffdxn -e directory$last
> > ----
> >
> > When it fails, it will complain that it wasn't able to open the
> > directory.  It still exits zero, however.
> >
> > I haven't bisected this, so I don't know if those patches are related
> > to the problem or not.  I'm a little short on time today to
> > investigate further, but hopefully this can get someone on the right
> > path with a modified version and git bisect run if nothing else.
>
> It bisects to 8d92fb2927 (dir: replace exponential algorithm with a linear one, 2020-04-01). I won't pretend to understand everything going on in that commit, though.
>
> -Peff



[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