On Mon Aug 4, 2025 at 7:31 PM CEST, Ian Jackson wrote:
Ian Jackson writes ("Re: Bug#1106071: [PATCH dgit v1] tag2upload: add pristine-tar 
metadata item"):
It is very precise and says exactly what we mean.

Just after writing this I had a thought.  If there are things in the
working tree that aren't files or directories or symlinks, what does
git do ?

For our treesame check to be meaningful, we need it to fail, I think.

Since I think we don't want to permit tarballs that contain device
files, sockets, or whatever.

Yeah, git seems to completely ignore device files (and tar does not seem to support sockets?). So should we explicitly state that only empty directories are allowed? If so, how do we check that?

Reply via email to