Re: [PATCH] scripts/spdxcheck: Limit the scope of git.Repo

From: Gon Solo
Date: Tue Apr 08 2025 - 05:44:00 EST


> > checkpatch suddenly broke for me with the same error as shown here and the
> > patch fixed it.
> >
> > Tested-by: Duje Mihanović <duje.mihanovic@xxxxxxxx>

Turns out, it was not enough; the variable is used later.
How about the following patch?