send-email, fix breakage in combination with --compose
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>
Gustaf Hendeby committed
Jan 21, 2008 at 20:57 UTC
97394ee4304a8d336663df5da23a33efbe1ab46b
1 file changed
+1
-1
git-send-email.perl
+1
-1
@@ -462,7 +462,7 @@ EOT
462
exit(0);
463
}
464
465
- @files = ($compose_filename . ".final");
465
+ @files = ($compose_filename . ".final", @files);
466
}
467
468
# Variables we set as part of the loop over files