From: Michael Witten Date: Mon, 13 Apr 2009 18:23:52 +0000 (-0500) Subject: send-email: Remove superfluous `my $editor = ...' X-Git-Tag: v1.6.4-rc0~101^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bec99cfc679b8c754ddd03feeb691b4c054ccc6a;p=git.git send-email: Remove superfluous `my $editor = ...' Not only was it a repeat, but it also had no effect. Signed-off-by: Michael Witten Signed-off-by: Junio C Hamano --- diff --git a/git-send-email.perl b/git-send-email.perl index 43f956b78..04267c58d 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -544,8 +544,6 @@ EOT } close(C); - my $editor = $ENV{GIT_EDITOR} || Git::config(@repo, "core.editor") || $ENV{VISUAL} || $ENV{EDITOR} || "vi"; - if ($annotate) { do_edit($compose_filename, @files); } else {