Bug#801649: git-dpm: generated patch header is unsuitable when commit message encoding mismatches

2015-10-13 Thread Daniel Stender
Experienced locally but also found e.g. here:
https://sources.debian.net/src/python-django/1.7.10-1/debian/patches/02_disable-sources-in-sphinxdoc.diff/

"From:" is UTF-8.

DS

-- 
4096R/DF5182C8
46CB 1CA8 9EA3 B743 7676 1DB9 15E0 9AF4 DF51 82C8
LPI certified Linux admin (LPI000329859 64mz6f7kt4)
http://www.danielstender.com/blog/



Bug#801649: git-dpm: generated patch header is unsuitable when commit message encoding mismatches

2015-10-12 Thread Daniel Stender
Package: git-dpm
Version: 0.9.1-1
Severity: wishlist

Hi,

if a commit message is further edited by "git commit --amend" after a patch
has been applied by "git-dpm apply-patch" (or with the --edit option), there are
problems if the encoding environment is e.g. UTF-8.
In this case, the generated patch header in master contains text like:


Subject: =?UTF-8?q?fix=20docs=0A=20privacy=20breaches=20and=20minor=20flaw?=
 =?UTF-8?q?s,=20extlinks=20extension,=0A=20don't=20produce=20PDFs=0AForwar?=
 =?UTF-8?q?ded:=20no?=
 

Maybe this could be improved somehow?

BTW, great tool!

Thanks,
DS

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages git-dpm depends on:
ii  dpkg-dev  1.18.3
ii  git   1:2.6.1-1

Versions of packages git-dpm recommends:
ii  bzip2   1.0.6-8
ii  devscripts  2.15.9
ii  sensible-utils  0.0.9
ii  xz-utils5.1.1alpha+20120614-2.1

Versions of packages git-dpm suggests:
ii  pristine-tar  1.33
ii  sharutils 1:4.15.2-1

-- no debconf information