Browse Source

send-email: Remove superfluous `my $editor = ...'

Not only was it a repeat, but it also had no effect.

Signed-off-by: Michael Witten <mfwitten@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Michael Witten 16 years ago committed by Junio C Hamano
parent
commit
bec99cfc67
  1. 2
      git-send-email.perl

2
git-send-email.perl

@ -544,8 +544,6 @@ EOT @@ -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 {

Loading…
Cancel
Save