Hello,

On Mon 04 Aug 2025 at 06:31pm +01, 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.

We encountered a similar problem when writing mini-git-tag-fsck.
I think the right thing to do is to fail, indeed.

-- 
Sean Whitton

Attachment: signature.asc
Description: PGP signature

Reply via email to