On Wed, 16 Sep 2020 at 12:47, Thomas Huth <th...@redhat.com> wrote: > > Now that we always do out-of-tree builds (and the in-tree builds are > faked via a "build" directory), we can simplify out .gitignore file > quite a bit. > > Message-Id: <20200909080305.258961-1-th...@redhat.com> > Reviewed-by: Philippe Mathieu-Daudé <phi...@redhat.com> > Signed-off-by: Thomas Huth <th...@redhat.com> > --- > .gitignore | 152 ----------------------------------------------------- > 1 file changed, 152 deletions(-)
This change removed .pyc files from the set of things we ignore: > -*.pyc But the meson build still runs python scripts which live in the source tree, which means python still dumps its bytecode files in the source tree too, and they appear in 'git status' now: Untracked files: (use "git add <file>..." to include in what will be committed) docs/sphinx/__pycache__/ scripts/qapi/__pycache__/ scripts/tracetool/__pycache__/ scripts/tracetool/backend/__pycache__/ scripts/tracetool/format/__pycache__/ So I think we should put *.pyc back into .gitignore. thanks -- PMM