From 31a068bcb82e051b0bf31cf2ab4310e0ee2880d6 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 2 Oct 2018 13:46:02 +0100 Subject: git-debrebase: Replace several `git-debrebase:' with `$us:' In ""-strings in as-yet-untranslated messages. This is more proper and more generic and also slightly shorter (although more complex). Signed-off-by: Ian Jackson --- git-debrebase | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'git-debrebase') diff --git a/git-debrebase b/git-debrebase index ba77924..2fa8cf4 100755 --- a/git-debrebase +++ b/git-debrebase @@ -397,10 +397,10 @@ sub snag ($$;@) { my ($tag,$msg) = @_; # ignores extra args, for benefit of keycommits if (grep { $_ eq $tag } @snag_force_opts) { $snags_forced++; - print STDERR "git-debrebase: snag ignored (-f$tag): $msg\n"; + print STDERR "$us: snag ignored (-f$tag): $msg\n"; } else { $snags_tripped++; - print STDERR "git-debrebase: snag detected (-f$tag): $msg\n"; + print STDERR "$us: snag detected (-f$tag): $msg\n"; } } @@ -1742,7 +1742,7 @@ sub update_head_checkout ($$$) { sub update_head_postlaunder ($$$) { my ($old, $tip, $reflogmsg) = @_; return if $tip eq $old && !@deferred_updates; - print "git-debrebase: laundered (head was $old)\n"; + print "$us: laundered (head was $old)\n"; update_head $old, $tip, $reflogmsg; # no tree changes except debian/patches runcmd @git, qw(rm --quiet --ignore-unmatch -rf debian/patches); @@ -2640,7 +2640,7 @@ END complete_convert_from $old_head, $work, $gdrlastinfo, 'convert-from-gbp'; print <