From dcb98d8f84a923517e8dd8c61694c89ff8c31f78 Mon Sep 17 00:00:00 2001
From: Antoine Regimbeau <antoine.regimbeau@c-s.fr>
Date: Sun, 19 May 2019 13:47:06 +0200
Subject: [PATCH] Skip smudge for checkout in prepare sb

---
 .gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 84ced5edcf..667b51655d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -138,7 +138,9 @@ macos-superbuild-prepare:
     # No need to install lfs as this machine is persistent
     # No need to do git config
     # Checkout the expected branch
+    - export GIT_LFS_SKIP_SMUDGE=1
     - git checkout -f -q $CI_COMMIT_SHA
+    - export GIT_LFS_SKIP_SMUDGE=0
   script:
     - ctest -VV -S CI/prepare_superbuild.cmake -DIMAGE_NAME:string=otb-macos-superbuild
 
-- 
GitLab