summaryrefslogtreecommitdiff
path: root/git-send-email.perl
diff options
context:
space:
mode:
authorMichael Witten <mfwitten@gmail.com>2009-04-13 13:23:52 -0500
committerJunio C Hamano <gitster@pobox.com>2009-04-14 01:56:28 -0700
commitbec99cfc679b8c754ddd03feeb691b4c054ccc6a (patch)
tree561015d5cab7bbd431fac14bb1965c31298ee1de /git-send-email.perl
parent15da10843135490e12efca7f8bc806ae0bcf5c53 (diff)
downloadgit-bec99cfc679b8c754ddd03feeb691b4c054ccc6a.tar.gz
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>
Diffstat (limited to 'git-send-email.perl')
-rwxr-xr-xgit-send-email.perl2
1 files changed, 0 insertions, 2 deletions
diff --git a/git-send-email.perl b/git-send-email.perl
index 43f956b780..04267c58dd 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 {