Detect ls-remote failure properly.
authorJunio C Hamano <junkio@cox.net>
Tue, 13 Sep 2005 20:16:45 +0000 (13:16 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 13 Sep 2005 20:39:06 +0000 (13:39 -0700)
commita5cd85e084458bf573d0d29fa79c4e1ad7973ed7
tree8cbe0a0cd3f1d061f03f3738ccebdb8fad416819
parente4cf17ce0db2dab7c9525a732f86c5e3df3b4ed0
Detect ls-remote failure properly.

The part that can fail is before the pipe, so we need to propagate the
error properly to the main process.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-ls-remote.sh