Merge pull request #331 from pmiossec/crash_clone_whole_repository
Correct crash when clone the whole repository
This commit is contained in:
@@ -114,6 +114,7 @@ namespace Sep.Git.Tfs.Commands
|
||||
if (withBranches)
|
||||
throw new GitTfsException("error: cloning the whole repository or too high in the repository path doesn't permit to manage branches!\n" + cloneMsg);
|
||||
stdout.WriteLine("warning: you are going to clone the whole repository or too high in the repository path !\n" + cloneMsg);
|
||||
return;
|
||||
}
|
||||
|
||||
var tfsBranchesPath = tfsTrunkRepository.GetAllChildren();
|
||||
|
||||
Reference in New Issue
Block a user