#1110991 want check for presence of debian/files in git

Package:
git-debpush
Source:
git-debpush
Submitter:
Ian Jackson
Date:
2025-08-15 06:35:01 UTC
Severity:
normal
Tags:
#1110991#5
Date:
2025-08-13 09:40:37 UTC
From:
To:
About debian/files (re [tag2upload 434]):

Sean Whitton:

Yes.  But, my question was how did it end up in git...

Jonathan Carter:

Right, that explains it.

In theory I think it would be possible to write a source package that
used special options to all the tools (in d/rules) to divert this
information to somewhere else than debian/files.  But that would be
very weird and still wouldn't explain why you'd want to commit the
file to git.

So presence of debian/files in git should be a failed check.

Thanks,
Ian.