Skip to content

fix git-send-email with recent versions of Term::ReadLine::Gnu

Jeff King git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2send-email: drop FakeTerm hackgit-send-email.perl+2 -201 reply
2/2send-email: avoid creating more than one Term::ReadLine objectgit-send-email.perl t/t9001-send-email.sh+16 -71 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] fix git-send-email with recent versions of Term::ReadLine::Gnu

Using git-send-email with the latest release of Term::ReadLine::Gnu causes any invocations which prompt more than once to fail. Details are in the second patch, which fixes it. The first patch cleans up an obsolete workaround that obscured the root cause of the problem.

The affected version of Term::ReadLine::Gnu is v1.46, which hit Debian unstable in the past few weeks. So we should consider this for maint and perhaps even for the -rc candidates, since people will presumably start running into this more and more.

[1/2]: send-email: drop FakeTerm hack
[2/2]: send-email: avoid creating more than one Term::ReadLine object

 git-send-email.perl   | 32 +++++++++++---------------------
 t/t9001-send-email.sh |  5 +++--
 2 files changed, 14 insertions(+), 23 deletions(-)

-Peff