Skip to content

Commit

Permalink
send-email: Remove superfluous `my $editor = ...'
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael Witten authored and Junio C Hamano committed Apr 14, 2009
1 parent 15da108 commit bec99cf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions git-send-email.perl
Original file line number Diff line number Diff line change
Expand Up @@ -544,8 +544,6 @@ ($)
}
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 {
Expand Down

0 comments on commit bec99cf

Please sign in to comment.