Skip to content

Commit

Permalink
Merge pull request #331 from pmiossec/crash_clone_whole_repository
Browse files Browse the repository at this point in the history
Correct crash when clone the whole repository
  • Loading branch information
sc68cal committed Mar 25, 2013
2 parents 1199542 + d7347c8 commit a7b5068
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions GitTfs/Commands/Clone.cs
Expand Up @@ -114,6 +114,7 @@ private void VerifyTfsPathToClone(string tfsRepositoryPath)
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();
Expand Down

0 comments on commit a7b5068

Please sign in to comment.