From 849c070d7488dd50304438bf3b136211cdedb129 Mon Sep 17 00:00:00 2001 From: Jorge Bucaran Date: Wed, 24 Feb 2016 09:18:45 +0900 Subject: [PATCH] Force Git to fail if the user is not authenticated when cloning unexisting repos. --- functions/__fisher_url_clone.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/__fisher_url_clone.fish b/functions/__fisher_url_clone.fish index c435e7b..35316cc 100644 --- a/functions/__fisher_url_clone.fish +++ b/functions/__fisher_url_clone.fish @@ -1,3 +1,3 @@ function __fisher_url_clone -a url path - git clone -q --depth 1 $url $path + env GIT_ASKPASS=/bin/echo git clone -q --depth 1 $url $path end