chiark / gitweb /
dgit: update-vcs-git: Honour --package properly.
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 1 Jul 2018 11:20:50 +0000 (12:20 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 1 Jul 2018 11:22:42 +0000 (12:22 +0100)
commitd561b2284c6e988d70794c9871d44c3bb5f0463f
tree7aba1e3516fdf8be86aaeb0ec35bacf0b2a6c787
parent96a93d8f6efbf26925d3644f10520e9320066b16
dgit: update-vcs-git: Honour --package properly.

Specifically, use package_from_d_control rather than open-coding
a substandard implementation.

The consequent abolition of $sourcep does mean that if the user
specifies the suite `.', and does not specify -p, we needlessly parse
debian/control twice.  This doesn't really matter.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/changelog
dgit