On Sun, Jul 28, 2019, 18:36 Jelmer Vernooij <jel...@debian.org> wrote:

> Hi Felipe,
>
> Thanks for the bug report.
>
> On Sat, Jul 27, 2019 at 08:54:17AM -0400, Felipe Sateler wrote:
> > lintian-brush complains repository is dirty, but repo is clean:
> >
> > felipe@felipedell:csound% lintian-brush
> > /home/felipe/src/deb/pkg-multimedia/csound: Please commit pending
> changes first.
> > % git status
> > On branch master
> > Your branch is ahead of 'origin/master' by 3 commits.
> >   (use "git push" to publish your local commits)
> >
> > nothing to commit, working tree clean
> >
> >
> > Turns out there are gitignored files:
> >
> > % git clean -fdX
> > Removing .pc/
> > Removing .vscode/
> > Removing test.wav
> >
> > After this lintian-brush can work.
> >
> > I think lintian-brush should also ignore gitignored files
>
> lintian-brush attempts to ignore gitignored files, but it seems that
> this doesn't always work.
>
> In this particular case, it appears that it does properly ignore
> test.wav because "*.wav" exists in .gitignore.
>
> I don't see any matches for .pc/ or .vscode/ in .gitignore though. Do
> you perhaps have them in ~/.git/ignore ?


Yes, I have .vscode in the global gitignore.


Were there any files under
> .pc/ or .vscode/ that you can remember?
>

I don't know if .pc had anything in it, but .vscode probably did.

I wonder why not just rely on git status (or the plumbing equivalent)
instead of detecting changes manually?

>

Reply via email to