git diff generation is sometimes wrong
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
git-ubuntu |
Triaged
|
Undecided
|
Unassigned | ||
turnip |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
https:/
17:02 <nacc> ahasenack: rbasak: yeah, i dug into it and it seems like it's something was in pygit2 or libgit2, but i forget immeidately
17:08 <nacc> ahasenack: in theory, we should be able to reproduce the diff that LP shows via turnip (iirc, that's the name of the project)
17:08 <nacc> ahasenack: by tracing that code to the diff generation (which I believe is pretty straightforward) and then seeing if we can get the same thing in a simple tool
17:11 <cjwatson> Start from turnip.
17:12 <cjwatson> And if you want to reproduce exact versions and such, use a trusty container with ppa:launchpad/
Filing to keep this useful information in one place, but I think it'll be a while before I investigate.
Changed in launchpad: | |
status: | New → Incomplete |
Changed in usd-importer: | |
status: | New → Triaged |
affects: | launchpad → turnip |
https:/ /code.launchpad .net/~paelzer/ ubuntu/ +source/ qemu/+git/ qemu/+merge/ 348672 is another example. Launchpad is showing a diff over a million lines long, when in fact it's much smaller:
(fix-1587065- guest-agent- double- freeze) andreas@ nsnx:~/ git/packages/ qemu/qemu$ git diff pkg/ubuntu/ xenial- devel|diffstat ubuntu/ lp-1587065- qga-ignore- EBUSY-when- freezing- a-filesystem. patch | 44 ++++++++++
changelog | 8 +
patches/series | 1
patches/
3 files changed, 53 insertions(+)