[git-buildpackage] Unexpected behaviour when upstream uses export-subst gitattribute

Guido Günther agx at sigxcpu.org
Fri Aug 28 18:04:21 CEST 2015


Hi,
On Fri, Aug 28, 2015 at 05:38:21PM +0200, Danny Edel wrote:
> On 28/08/15 17:13, Guido Günther wrote:
> > 
> > You're very likely not telling gbp how upstream tags look like using the
> > --git-upstream-tag option our the upstream tarball isn't exactly
> > generated from this tag.
> 
> 
> Hello Guido,
> 
> thanks for the fast reply, but in this case I'm pretty sure that is not
> the problem:

You're right. Sorry for not noticing the .gitattributes part. If you use
an export-dir we'll use git-archive to export the tree before the build
and this honors .gitattributes (see git-archive(1)). So I think this
is somewhat expected behaviour in this scenario.
Cheers,
 -- Guido


More information about the git-buildpackage mailing list