Esempio n. 1
0
        public LibGit2Sharp.IRepository GetActiveRepo()
        {
            var repo = GetRepoFromVS();

            return(repo != null
                ? serviceProvider.GetService <IGitService>().GetRepository(repo.RepositoryPath)
                : serviceProvider.GetSolution().GetRepositoryFromSolution());
        }