This unwanted file was getting created because dch invokes the
given editor roughly like:
$VISUAL +linenum debian/changelog
Real editors interpret +linenum as a command to jump to the given
line number, but touch interprets it as another file to create.
We unfortunately have to continue using touch because the timestamp on
debian/changelog must be updated in order for dch to proceed.
We work around this problem by introducing a wrapper script which
feeds the proper argument to touch.
This unwanted file was getting created because
dch
invokes the given editor roughly like:Real editors interpret
+linenum
as a command to jump to the given line number, buttouch
interprets it as another file to create. We unfortunately have to continue usingtouch
because the timestamp ondebian/changelog
must be updated in order fordch
to proceed.We work around this problem by introducing a wrapper script which feeds the proper argument to
touch
.