From 05babd80e5414230f567ac26bf3d5118aa595320 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 27 Jun 2018 01:26:49 +0100 Subject: [PATCH] dgit: Better message formatting when --overwrite may be needed Closes:891031. Signed-off-by: Ian Jackson --- debian/changelog | 4 ++++ dgit | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 4a0883ca..724f7843 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,10 @@ dgit (5.3~) unstable; urgency=medium * git-debrebase new-upstream: Provide better reflog entries by setting GIT_REFLOG_ACTION. Closes:#901925. + Improvements: + * Better message formatting when --overwrite may be needed, + and a note about first dgit push in dgit(1). Closes:891031. + -- dgit (5.2) unstable; urgency=medium diff --git a/dgit b/dgit index d18cc73b..1559a023 100755 --- a/dgit +++ b/dgit @@ -4013,10 +4013,12 @@ sub splitbrain_pseudomerge ($$$$) { infopair_cond_ff($i_dep14, [ $maintview, 'HEAD' ]); 1; }) { + $@ =~ s/^\n//; chomp $@; print STDERR <