]> git.ipfire.org Git - thirdparty/git.git/commit
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)
commit853ec9aa9be1b467986dd86ffc36c1c8580a6789
tree1c24566cefb68c6becf674e5955698be29bfeb9a
parenta4b9fb6a5cf1f7cf015b3d114b364730f6b74ead
parent3d411afabc9a96f41d47c07d6af6edda3d29ec92
Merge branch 'cm/save-restore-terminal'

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
editor.c