chiark / gitweb /
Dgit.pm: printdebug: Selectively print $debugprefix, and add a doc
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 11 Aug 2018 09:52:58 +0000 (10:52 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 11 Aug 2018 10:38:39 +0000 (11:38 +0100)
commit3627acb401427824068b9d66011ee92aa16b3ad7
tree816a4f8bc56b37c6b8ad07492f71f2f4a735e3ea
parent8047fa8b32e744b4033cdbe451108fdb2ea0e505
Dgit.pm: printdebug: Selectively print $debugprefix, and add a doc

Remember whether the last printdebug ended in a \n.  If it didn't,
suppress printing the next newline.

I don't think anywhere calls printdebug without @_ right now.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Debian/Dgit.pm