git-update: Close stdin if non-interactive
authorEdward Hervey <edward@centricular.com>
Fri, 20 Oct 2017 10:22:57 +0000 (12:22 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 20 Oct 2017 10:22:57 +0000 (12:22 +0200)
commit13996d524467c06e8d5593e2143e5a1c65807127
treeddb23f6c57e14010e3f9c5a58a129648248ede28
parent1f847ffbf47e5dd229673e2957182261c8eeb0fa
git-update: Close stdin if non-interactive

To be 100% certain that any usage of stdin will actually fail
instead of silently waiting for input.
git-update