public ChangeSet GetChangeSet(string id)
{
using (var repo = new LibGit2Sharp.Repository(RepositoryPath))
{
LibGit2Sharp.Commit commit = repo.Lookup<LibGit2Sharp.Commit>(id);
if (commit == null)
{
return null;
}
return new ChangeSet(commit.Sha, commit.Author.Name, commit.Author.Email, commit.Message, commit.Author.When);
}
}