]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'cb/add-p-single-key-fix'
authorJunio C Hamano <gitster@pobox.com>
Fri, 10 Dec 2021 22:35:16 +0000 (14:35 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 Dec 2021 22:35:16 +0000 (14:35 -0800)
The single-key-input mode in "git add -p" had some code to handle
keys that generate a sequence of input via ReadKey(), which did not
handle end-of-file correctly, which has been fixed.

* cb/add-p-single-key-fix:
  add -p: avoid use of undefined $key when ReadKey -> EOF


Trivial merge