Package: git-debrebase
Version: 6.6
Severity: normal

Where patches have DEP-3 header fields that cannot be directly included
in git metadata, such as Origin, Forwarded, and Bug-Debian, they don't
seem to be reliably included in git commits.

For a real example, compare branches use-dgit (patch queue) and
use-dgit-broken (converted) of
<>.  Patch
debian/powerpcspe-omit-uimage.patch has:

Description: Prevent building uImage with missing mkimage
 On some powerpc platforms, CONFIG_DEFAULT_UIMAGE is selected automatically,
 which leads to uImage being built automatically with mkimage. This tool is not
 available in linux's build-dependencies, and the file is not strictly
 necessary, so we are omitting this step in the build process, Debian-specific.
Author: Roland Stigge <>
Forwarded: not-needed

and the Bug-Debian and Forwarded fields are included in commit

Whereas patch bugfix/all/usbip-fix-misuse-of-strncpy.patch has:

From: Ben Hutchings <>
Date: Fri, 20 Jul 2018 01:30:24 +0100
Subject: usbip: Fix misuse of strncpy()

and the Bug-Debian field is not included in commit

It looks as if when the body of the commit message comes mostly from a
Description field placed before the non-git headers, they are added at
the end of the body.  But if the body of the commit comes from free
text below the patch headers, they are not included (perhaps they are


-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.17.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages git-debrebase depends on:
ii  git [git-core]        1:2.18.0-1
ii  libdpkg-perl
ii  libfile-fnmatch-perl  0.02-2+b5
ii  perl                  5.26.2-6

Versions of packages git-debrebase recommends:
ii  dgit              6.6
ii  git-buildpackage  0.9.9

git-debrebase suggests no packages.

-- no debconf information

Reply via email to