From 48f5dab721e03a47deeef0af45a993b48687bf88 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 18 Jan 2017 21:28:25 +0000 Subject: Dgit.pm: Call `confess' when shellquote gets an undef arg This can happen if a command (eg passed to debugcmd) has an undef argument. This turns an undefined warning into an explicit internal error. Signed-off-by: Ian Jackson --- debian/changelog | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'debian/changelog') diff --git a/debian/changelog b/debian/changelog index 4754f17..7c2faac 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,9 @@ dgit (3.6~) unstable; urgency=medium - * + Minor improvements: + * Call `confess' to print a stack trace when we pass undef to + shellquote (eg as a result of debugcmd). Turns an undefined + warning into an explicit internal error. -- -- cgit v1.2.3