author | Junio C Hamano <gitster@pobox.com> | |
Mon, 1 Dec 2008 06:38:20 +0000 (22:38 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 1 Dec 2008 06:38:20 +0000 (22:38 -0800) | ||
commit | 69f4ce553708ee5ce474faaa9c45312f38aad563 | |
tree | 54ac3cf08b95469dcbed7dc1fb8a0e7bf6115309 | tree | snapshot |
parent | 7f871c6eccd0b9925310b3f0c60c9ef458e6f109 | commit | diff |
send-email: do not reverse the command line arguments
The loop picks elements from @ARGV one by one, sifts them into arguments
meant for format-patch and the script itself, and pushes them to @files
and @rev_list_opts arrays. Pick elements from @ARGV starting at the
beginning using shift, instead of at the end using pop, as push appends
them to the end of the array.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The loop picks elements from @ARGV one by one, sifts them into arguments
meant for format-patch and the script itself, and pushes them to @files
and @rev_list_opts arrays. Pick elements from @ARGV starting at the
beginning using shift, instead of at the end using pop, as push appends
them to the end of the array.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-send-email.perl | diff | blob | history | |
t/t9001-send-email.sh | diff | blob | history |