ignore more files in Git?

Tom Rini trini at konsulko.com
Tue Nov 30 17:02:49 CET 2021


On Tue, Nov 30, 2021 at 05:39:36PM +0200, Andy Shevchenko wrote:
> On Tue, Nov 30, 2021 at 5:28 PM Andy Shevchenko
> <andy.shevchenko at gmail.com> wrote:
> > On Tue, Nov 30, 2021 at 3:23 PM Tom Rini <trini at konsulko.com> wrote:
> > > On Tue, Nov 30, 2021 at 03:06:23PM +0200, Andy Shevchenko wrote:
> > >
> > > > Am I doing something wrong?
> > > >
> > > > $ git status --ignored
> > > > On branch edison-acpi
> > > > Your branch is up to date with 'gh-andy-shev/edison-acpi'.
> > > >
> > > > Ignored files:
> > > >  (use "git add -f <file>..." to include in what will be committed)
> > > >        tools/binman/__pycache__/
> > > >        tools/binman/etype/__pycache__/
> > > >        tools/concurrencytest/__pycache__/
> > > >        tools/dtoc/__pycache__/
> > > >        tools/patman/__pycache__/
> > > >
> > > > nothing to commit, working tree clean
> > >
> > > I don't know?  `git status --ignored` shows ignored files and
> > > __pycache__ is in the top-level .gitignore file.
> >
> > These files are products of `make O=...`. There are no issues when I
> > build inside the tree (dunno why). But I definitely won't build in the
> > source tree folder.
> 
> I realized that I might be unclear about the point.
> The problem here is that the source tree becomes dirty after clear
> instruction to get all temporary stuff out of the tree folder.

*shakes fist at python* I don't know if that's changeable behavior or
not, it would be good to know and document / address if possible.  Maybe
the kernel folks have had to figure out this problem already?

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20211130/ce3ac1d1/attachment.sig>


More information about the U-Boot mailing list