]> Git Repo - qemu.git/commitdiff
scripts: fix error from checkpatch.pl when no commits are found
authorDaniel P. Berrangé <[email protected]>
Wed, 21 Oct 2020 16:31:35 +0000 (17:31 +0100)
committerAlex Bennée <[email protected]>
Tue, 27 Oct 2020 09:53:50 +0000 (09:53 +0000)
The error message was supposed to mention the input revision list start
point, not the branch flag.

Signed-off-by: Daniel P. Berrangé <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <20201019143537[email protected]>
Message-Id: <20201021163136[email protected]>

scripts/checkpatch.pl

index 6ed34970f9011f924637287f8bdd5266236d4e9e..88c858f67cbb13de1c87adafb08a4f02d2d2f92f 100755 (executable)
@@ -392,7 +392,7 @@ if ($chk_branch) {
 
        close $HASH;
 
-       die "$P: no revisions returned for revlist '$chk_branch'\n"
+       die "$P: no revisions returned for revlist '$ARGV[0]'\n"
            unless @patches;
 
        my $i = 1;
This page took 0.02755 seconds and 4 git commands to generate.