Hello, On Tue 19 Aug 2025 at 12:22pm +01, Ian Jackson wrote:
> OPTIONS FOR SRC:DGIT
>
> A.
>
> 1. Change git-deborig to not honour .gitattributes, by default.
>
> B.
>
> 2. Have the tag2upload service run dgit setup-gitattributes; and
> 3. Change dgit setup-gitattributes to affect git-archive, too.
>
> We might want to do 1 and 2 anyway.
git-deborig(1) says
git-deborig will override gitattributes(5) that would cause the
contents of the tarball generated by git-archive(1) not to be
identical with the commitish archived: the export-subst and
export-ignore attributes.
So the problem is that there are git attributes which cause this that it
doesn't defuse, atm. It wouldn't be a breaking change to its declared
API to make git-deborig disable these other attributes, too.
I don't know what the semantic changes would be for making git-deborig
"not honour .gitattributes" completely; that might well be a breaking
change.
--
Sean Whitton
signature.asc
Description: PGP signature

