Package: git-buildpackage
Version: 0.9.20
Severity: normal

Dear Maintainer,

gbp import-dsc fails to import a dsc when the changelog has NUL
characters embedded into it:

    gbp:error: Failed to commit tree: error: a NUL byte in commit log message 
not allowed.
    e: Failed to commit tree: error: a NUL byte in commit log message not 
allowed.

An example is this dash version, the NUL is in the entry for ash (0.3.8-14):

https://snapshot.debian.org/archive/debian-archive/20120328T092752Z/debian/pool/main/d/dash/dash_0.5.4-12.dsc

I guess, it’s best to filter the changes list before passing it to Git
around line 181 of import_dsc.py.

Thanks.

-- 
Cheers,
  Andrej

Reply via email to