Andrea Pappacoda writes ("Re: Bug#1106071: [PATCH dgit v1] tag2upload: add
pristine-tar metadata item"):
> 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?
Hngh. (I bet tar does support sockets. It certainly supports fifos.)
I can't think of a better way than comparing the output of
git ls-files with the output of find \! -type d -print0.
Ian.
--
Ian Jackson <[email protected]> These opinions are my own.
Pronouns: they/he. If I emailed you from @fyvzl.net or @evade.org.uk,
that is a private address which bypasses my fierce spamfilter.