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
> warning: in the working copy of 
> 'internal/website/content/concepts/structure/portable-type-no-driver.png', 
> CRLF will be replaced by LF the next time Git touches it
> warning: in the working copy of 
> 'internal/website/content/concepts/structure/portable-type.png', CRLF will be 
> replaced by LF the next time Git touches it
> warning: in the working copy of 'internal/website/static/favicon-32x32.png', 
> CRLF will be replaced by LF the next time Git touches it
> warning: in the working copy of 'internal/website/static/gh.png', CRLF will 
> be replaced by LF the next time Git touches it
> warning: in the working copy of 
> 'internal/website/static/go-cdk-logo-gopherblue-small.png', CRLF will be 
> replaced by LF the next time Git touches it
> warning: in the working copy of 
> 'internal/website/static/go-cdk-logo-gopherblue.png', CRLF will be replaced 
> by LF the next time Git touches it
> warning: in the working copy of 
> 'internal/website/static/go-cdk-logo-white.png', CRLF will be replaced by LF 
> the next time Git touches it
> warning: in the working copy of 
> 'internal/website/static/placeholder-logo.png', CRLF will be replaced by LF 
> the next time Git touches it
> warning: in the working copy of 'samples/guestbook/blobs/aws.png', CRLF will 
> be replaced by LF the next time Git touches it
> warning: in the working copy of 'samples/guestbook/blobs/azure.png', CRLF 
> will be replaced by LF the next time Git touches it
> warning: in the working copy of 'samples/guestbook/blobs/gcp.png', CRLF will 
> be replaced by LF the next time Git touches it
> warning: in the working copy of 'samples/order/testdata/cat1', CRLF will be 
> replaced by LF the next time Git touches it
> warning: in the working copy of 'samples/tutorial/gopher.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

Reply via email to