]> git.ipfire.org Git - thirdparty/git.git/commit
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)
commit7d53ff402a9140663da8e1a7a330f14f0de02e65
treeaac3696f55b9c77f4f8af0faeb0a5ca8ef8e1211
parent25be7ec4bff10e8865d2a1e9ccd9e4fe125cbe62
parentfc8a8126df822f82ab65135296b5bd569af276c1
Merge branch 'cb/add-p-single-key-fix'

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