On 2022-11-09 14:16, Guido Günther wrote:
Hi,
On Wed, Nov 09, 2022 at 01:47:13PM +0100, Drew Parsons wrote:
Package: git-buildpackage
Followup-For: Bug #1023742
It looks like the problem arises from git itself not respecting the
image files.
When I manually extract the tarball into the upstream branch of a
clone of debian's golang-gocloud repo from salsa, and run "git add -A"
to add the new files in v0.27.0, I get this warning:
$ git add -A
warning: in the working copy of
'internal/docs/img/user-facing-type-no-driver.png', CRLF will be
replaced by LF the next time Git touches it
warning: in the working copy of
'internal/docs/img/user-facing-type.png', CRLF will be replaced by LF
the next time Git touches it
...
Defusing git-attributes should help:
https://github.com/google/go-cloud/blob/master/.gitattributes
See gbp-setup-gitattributes(1)
Cheers,
-- Guido
Thanks Guido. Looks like gbp-setup-gitattributes is probably the right
tool to fix it.
I'll close this bug once I've got it working.
Drew