From 26b0eec1d15d2022e3812c52b7f92a1871278bf1 Mon Sep 17 00:00:00 2001
From: Boris Basic <boris.basic@edf.fr>
Date: Thu, 12 Oct 2023 16:45:21 +0200
Subject: [PATCH] Don't update the local repository

---
 build-telemac.bat | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/build-telemac.bat b/build-telemac.bat
index 1f085a9..52f05b6 100644
--- a/build-telemac.bat
+++ b/build-telemac.bat
@@ -141,13 +141,6 @@ if exist %install_path% (
 if /i "%clone%" equ "y" (
     rd /s/q %install_path% 2>nul
     git clone -b %version% https://gitlab.pam-retd.fr/otm/telemac-mascaret.git %install_path% || exit /b 0
-) else (
-    pushd %install_path%
-    echo Switching to %version% branch...
-    git switch %version% || exit /b 0
-    echo Updating %version% branch... 
-    git pull --rebase || exit /b 0
-    popd
 )
 
 rem **********************
-- 
GitLab