chiark / gitweb /
dgit: update-vcs-git: Print a less confusing message if unchanged
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 10 Aug 2019 18:20:30 +0000 (19:20 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 10 Aug 2019 23:09:29 +0000 (00:09 +0100)
Previously, we would say it was "already configured" which is
unspecific and sounds a bit like an error.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit

diff --git a/dgit b/dgit
index d57b64351e1883f78772e9ae075be814f0bee8c4..5c046388a9e0c93aee69ea8eb63c252619c4fc58 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -4980,7 +4980,7 @@ sub cmd_update_vcs_git () {
        print STDERR f_ "setting up vcs-git: %s\n", $url;
        @cmd = (@git, qw(remote add vcs-git), $url);
     } elsif ($orgurl eq $url) {
-       print STDERR f_ "vcs git already configured: %s\n", $url;
+       print STDERR f_ "vcs git unchanged: %s\n", $url;
     } else {
        print STDERR f_ "changing vcs-git url to: %s\n", $url;
        @cmd = (@git, qw(remote set-url vcs-git), $url);