send-email, fix breakage in combination with --compose
authorGustaf Hendeby <hendeby@isy.liu.se>
Mon, 21 Jan 2008 19:57:46 +0000 (20:57 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 22 Jan 2008 01:24:12 +0000 (17:24 -0800)
This fixes the subtile bug in git send-email that was introduced into
git send-email with aa54892f5ada8282643dc7387b33261c7135d784 (send-email:
detect invocation errors earlier), which caused no patches to be sent
out if the --compose flag was used.

Signed-off-by: Gustaf Hendeby <hendeby@isy.liu.se>
Tested-by: Seth Falcon <seth@userprimary.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-send-email.perl

index 6c72952fcc09934a4e710be733b4926a9e5a2658..a1a9d14b00d01844509a87c598314e2ffbbfa47c 100755 (executable)
@@ -462,7 +462,7 @@ EOT
                exit(0);
        }
 
-       @files = ($compose_filename . ".final");
+       @files = ($compose_filename . ".final", @files);
 }
 
 # Variables we set as part of the loop over files