]> git.ipfire.org Git - thirdparty/coreutils.git/commit
maint: commit-msg: fix terminal corruption when re-editing
authorPádraig Brady <P@draigBrady.com>
Sat, 29 Nov 2025 20:36:14 +0000 (20:36 +0000)
committerPádraig Brady <P@draigBrady.com>
Sat, 29 Nov 2025 20:36:14 +0000 (20:36 +0000)
commit47b58df1bb5ad6c856d11cdd98aa3ce48d5e473f
tree1e4588b8c0be9d6cdaf4360de3d9db1ee6f00239
parent68e39a581aed61bf11cf9a8a9a6468ef8caeb948
maint: commit-msg: fix terminal corruption when re-editing

* scripts/git-hooks/commit-msg: Explicitly connect the editor to
/dev/tty, so that it can restore terminal settings appropriately.
scripts/git-hooks/commit-msg