]> git.ipfire.org Git - thirdparty/git.git/commit
send-email: get rid of indirect object syntax
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Fri, 28 May 2021 09:23:48 +0000 (11:23 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 28 May 2021 09:38:07 +0000 (18:38 +0900)
commit447ed29c0d414547914c23e92f8bb13fcf748f9b
treeb7ca48b3c6f8aa292486d23f4cef11e3cd7bbc83
parent4adbf387bfd4b03b838282757e0bdf67e8f9fc8d
send-email: get rid of indirect object syntax

Change indirect object syntax such as "new X ARGS" to
"X->new(ARGS)". This allows perl to see what "new" is at compile-time
without having loaded Term::ReadLine. This doesn't matter now, but
will in a subsequent commit when we start lazily loading it.

Let's do the same for the adjacent "FakeTerm" package for consistency,
even though we're not going to conditionally load it.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-send-email.perl