update-index: read --show-index-info output from standard input.