]> Nutra Git (v2) - gamesguru/git-remote-gcrypt.git/commitdiff
remove any git config for dummy-gcrypt-check remote
authorJoey Hess <joey@kitenet.net>
Fri, 27 Sep 2013 20:47:43 +0000 (16:47 -0400)
committerJoey Hess <joey@kitenet.net>
Fri, 27 Sep 2013 20:47:43 +0000 (16:47 -0400)
The gcrypt-id is cached to there when running --check

git-remote-gcrypt

index 22f19dd04a17b55d1c91c192c1f8aaa287462273..0a382e2cd930bc796ca3ee01bfd4a9604dd36fc9 100755 (executable)
@@ -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