aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2013-09-27 16:47:43 -0400
committerJoey Hess <joey@kitenet.net>2013-09-27 16:47:43 -0400
commitc826c392088ab12bedc1b549b58c7a7a91e2153c (patch)
tree71e8bb9f77ce3a721e6ebd272d46b31caecce676
parentb0174432a0a4842127560af87e1e0cc7b52581c0 (diff)
downloadgit-remote-gcrypt-c826c392088ab12bedc1b549b58c7a7a91e2153c.zip
git-remote-gcrypt-c826c392088ab12bedc1b549b58c7a7a91e2153c.tar.gz
git-remote-gcrypt-c826c392088ab12bedc1b549b58c7a7a91e2153c.tar.bz2
remove any git config for dummy-gcrypt-check remote
The gcrypt-id is cached to there when running --check
-rwxr-xr-xgit-remote-gcrypt1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-remote-gcrypt b/git-remote-gcrypt
index 22f19dd..0a382e2 100755
--- a/git-remote-gcrypt
+++ b/git-remote-gcrypt
@@ -865,6 +865,7 @@ then
URL=$2
setup
ensure_connected
+ git remote remove $NAME 2>/dev/null || true
if iseq "$Did_find_repo" "no"
then
exit 100