summaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2019-05-20 08:07:15 -0400
committerJunio C Hamano <gitster@pobox.com>2019-05-28 10:26:36 -0700
commit1db65f324ecf246f7f5f8e0158daab0420dd18bc (patch)
tree44b451f512d3e780800411732ecf5acd7b8d88e4 /contrib/persistent-https
parentaeb582a98374c094361cba1bd756dc6307432c42 (diff)
downloadgit-1db65f324ecf246f7f5f8e0158daab0420dd18bc.tar.gz
git-1db65f324ecf246f7f5f8e0158daab0420dd18bc.zip
am: simplify prompt response handling
We'll never see a NULL returned from git_prompt(); if it can't produce any input for us (e.g., because the terminal got EOF) then it will just die(). So there's no need for us to handle NULL here. And even if there was, it doesn't make sense to continue; on a true terminal hangup we'd just loop infinitely trying to get input that will never come. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions