]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'cm/save-restore-terminal'
authorJunio C Hamano <gitster@pobox.com>
Mon, 18 Oct 2021 22:47:57 +0000 (15:47 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 18 Oct 2021 22:47:57 +0000 (15:47 -0700)
An editor session launched during a Git operation (e.g. during 'git
commit') can leave the terminal in a funny state.  The code path
has updated to save the terminal state before, and restore it
after, it spawns an editor.

* cm/save-restore-terminal:
  editor: save and reset terminal after calling EDITOR
  terminal: teach git how to save/restore its terminal settings

1  2 
editor.c

diff --cc editor.c
Simple merge