From: Finn Arne Gangstad Date: Mon, 6 Apr 2009 13:41:01 +0000 (+0200) Subject: remote: New function remote_is_configured() X-Git-Tag: v1.6.3-rc0~5^2~2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/9a23ba3375e2afa8045a433a3debce99c373beb2?ds=inline;hp=9a23ba3375e2afa8045a433a3debce99c373beb2 remote: New function remote_is_configured() Previously, there was no easy way to check for the existence of a configured remote. remote_get for example would always create the remote "on demand". This new function returns 1 if the remote is configured, 0 otherwise. Signed-off-by: Finn Arne Gangstad Signed-off-by: Junio C Hamano ---