post-checkout hook, tests, and docs
[gitweb.git] / contrib / remotes2config.sh
index 0c8b9544908ad90c1731cbac14f9f78910abc8f8..5838b3ab05fb1d9a1cf6a565513b3c7409adc73a 100644 (file)
@@ -26,8 +26,8 @@ if [ -d "$GIT_DIR"/remotes ]; then
                                mv "$GIT_DIR"/remotes "$GIT_DIR"/remotes.old
                        fi ;;
                *)
-                       echo "git-config $key "$value" $regex"
-                       git-config $key "$value" $regex || error=1 ;;
+                       echo "git config $key "$value" $regex"
+                       git config $key "$value" $regex || error=1 ;;
                esac
        done
 fi