Import munged by package's own .gitattributes

Bug #2027519 reported by Robie Basak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
git-ubuntu
Triaged
High
Unassigned

Bug Description

The import of ocaml-dune 3.9.0-2 contains ci/setup-dkml/pc/setup-dkml-windows_x86.ps1 of size 74042 but in the orig tarball it is 148070.

The imported size can be confirmed with:

$ git ls-tree HEAD:ci/setup-dkml/pc
100644 blob 3923fe3d97c4387dc7af8a9bf648972824413ce7 dune
100644 blob 5e174bd7ff8a700e4f0f9473a0d3c51649d63d51 setup-dkml-windows_x86.ps1
100644 blob 41fbfae47af633d0f858db127001db9accbde9ef setup-dkml-windows_x86_64.ps1

$ git cat-file -s 5e174bd7ff8a700e4f0f9473a0d3c51649d63d51
74042

The orig tarball contains a .gitattributes with what seems like the likely cause:

*.ps1 text working-tree-encoding=UTF-16 eol=crlf

Expected behaviour: the importer should not follow the instructions in this file.

Revision history for this message
Robie Basak (racb) wrote :

Bug 1641251 refers to this but is Fix Released with no further reference.

tags: added: hash-abi-break
Robie Basak (racb)
Changed in git-ubuntu:
milestone: none → future
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.