diff --git a/Sparkles/Git/GitRepository.cs b/Sparkles/Git/GitRepository.cs index 0049d160..560a93e3 100644 --- a/Sparkles/Git/GitRepository.cs +++ b/Sparkles/Git/GitRepository.cs @@ -247,7 +247,7 @@ namespace Sparkles.Git { string lfs_is_behind_file_path = Path.Combine (LocalPath, ".git", "lfs", "is_behind"); if (StorageType == StorageType.LargeFiles) - File.Create (lfs_is_behind_file_path); + File.Create (lfs_is_behind_file_path).Close (); var git_fetch = new GitCommand (LocalPath, "fetch --progress origin " + branch, auth_info);