chiark / gitweb /
git-debrebase: fix convert-from-dgit-view argv handling
authorNiko Tyni <ntyni@debian.org>
Sat, 8 Jun 2019 07:58:01 +0000 (10:58 +0300)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 1 Jul 2019 12:16:46 +0000 (13:16 +0100)
[ S-o-b added after checking with ntyni on irc -iwj ]

Signed-off-by: Niko Tyni <ntyni@debian.org>
Closes: #930214
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
git-debrebase

index e307af843da884e4d5e8b39fd9fec8f68465bc30..01429fb4b4dc9cc63cd5b1575e0ff2e94549b674 100755 (executable)
@@ -2662,7 +2662,7 @@ sub cmd_convert_from_dgit_view () {
        my $spec = shift @ARGV;
        my $commit = git_rev_parse "$spec^{commit}";
        push @upstreams, { Commit => $commit,
-                          Source => (f_ "%s, from command line", $ARGV[0]),
+                          Source => (f_ "%s, from command line", $spec),
                           Only => 1,
                         };
     }