git-branch: display "was sha1" on branch deletion rather than just "sha1"
[gitweb.git] / git-send-email.perl
index 7508f8ff242854462d0b5b505621dd840b551641..3112f769cd4b86cbb87fbbb14b5a9d8c4b5fc6bd 100755 (executable)
@@ -421,7 +421,7 @@ ($)
 # Now that all the defaults are set, process the rest of the command line
 # arguments and collect up the files that need to be processed.
 my @rev_list_opts;
-while (my $f = pop @ARGV) {
+while (defined(my $f = shift @ARGV)) {
        if ($f eq "--") {
                push @rev_list_opts, "--", @ARGV;
                @ARGV = ();