summaryrefslogtreecommitdiff
path: root/zlib.c
diff options
context:
space:
mode:
authorLibravatar Felipe Contreras <felipe.contreras@gmail.com>2014-04-11 18:32:25 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-04-14 13:27:23 -0700
commit59d3924fbb300ebfe05f9079bcfe29d0a3f30661 (patch)
tree155d64af7a1c8b24c6e6b30f2521c59ae82ceb39 /zlib.c
parentSync with 1.9.2 (diff)
downloadtgif-59d3924fbb300ebfe05f9079bcfe29d0a3f30661.tar.xz
prompt: fix missing file errors in zsh
zsh seems to have a bug while redirecting the stderr of the 'read' command: % read foo 2>/dev/null <foo zsh: no such file or directory: foo Which causes errors to be displayed when certain files are missing. Let's add a convenience function to manually check if the file is readable before calling "read". Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'zlib.c')
0 files changed, 0 insertions, 0 deletions