Sep.Git.Tfs.Commands.Branch.VerifyCloneAllRepository C# (CSharp) Method

VerifyCloneAllRepository() private method

private VerifyCloneAllRepository ( ) : void
return void
        private void VerifyCloneAllRepository()
        {
            if (!_globals.Repository.HasRemote(GitTfsConstants.DefaultRepositoryId))
                return;

            if (_globals.Repository.ReadTfsRemote(GitTfsConstants.DefaultRepositoryId).TfsRepositoryPath == GitTfsConstants.TfsRoot)
                throw new GitTfsException("error: you can't use the 'branch' command when you have cloned the whole repository '$/' !");
        }