summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2022-08-25 00:28:21 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2022-08-25 00:28:21 +0100
commit14f125119f3a9454dde39fd41ae01f74125321a9 (patch)
tree2d5edb43d6393aa3365d3409bfd039fea953fb9c /dgit
parentfe39d5a9511ec7099079059627677cd37bc6510c (diff)
dry run: Improve a message - fixup
Fix for "invalid variable interpolation" in i18n. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'dgit')
-rwxr-xr-xdgit4
1 files changed, 2 insertions, 2 deletions
diff --git a/dgit b/dgit
index d8ffdc5..162af35 100755
--- a/dgit
+++ b/dgit
@@ -2982,10 +2982,10 @@ END
my $want = $wantr{$rrefname};
next if $got eq $want;
if (!defined $objgot{$want}) {
- fail __ <<END unless act_local();
+ fail f_ <<END, $rrefname unless act_local();
--dry-run specified but we actually wanted the results of git fetch,
so this is not going to work. Try running dgit fetch first,
-or using --damp-run instead of --dry-run. (Wanted: $rrefname.)
+or using --damp-run instead of --dry-run. (Wanted: %s.)
END
print STDERR f_ <<END, $lrefname, $want;
warning: git ls-remote suggests we want %s