diff --git a/Source/GitSourceControl/Private/GitSourceControlOperations.cpp b/Source/GitSourceControl/Private/GitSourceControlOperations.cpp index 5ca4fa8..9009042 100644 --- a/Source/GitSourceControl/Private/GitSourceControlOperations.cpp +++ b/Source/GitSourceControl/Private/GitSourceControlOperations.cpp @@ -128,7 +128,7 @@ bool FGitCheckOutWorker::Execute(FGitSourceControlCommand& InCommand) } // lock files: execute the LFS command on relative filenames - const TArray& RelativeFiles = GitSourceControlUtils::RelativeFilenames(InCommand.Files, InCommand.PathToRepositoryRoot); + const TArray& RelativeFiles = GitSourceControlUtils::RelativeFilenames(LockableFiles, InCommand.PathToRepositoryRoot); const TArray& LockableRelativeFiles = RelativeFiles.FilterByPredicate(GitSourceControlUtils::IsFileLFSLockable);