Revert "editor: save and reset terminal after calling EDITOR"
commite3f7e01b50be94bfe6cf35b2f1e01ab75804d8d8
authorJunio C Hamano <gitster@pobox.com>
Mon, 22 Nov 2021 23:04:20 +0000 (22 15:04 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Nov 2021 23:04:20 +0000 (22 15:04 -0800)
treebd722bf454bef4e29ced13c9d6cb11efda44668f
parent3d411afabc9a96f41d47c07d6af6edda3d29ec92
Revert "editor: save and reset terminal after calling EDITOR"

This reverts commit 3d411afabc9a96f41d47c07d6af6edda3d29ec92,
blindly opening /dev/tty and calling tcsetattr() seems to be causing
problems.

cf. https://bugs.eclipse.org/bugs/show_bug.cgi?id=577358
cf. https://lore.kernel.org/git/04ab7301-ea34-476c-eae4-4044fef74b91@gmail.com/

Signed-off-by: Junio C Hamano <gitster@pobox.com>
editor.c