Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2014-01-22 02:55:40 +0400
committernulltoken <emeric.fermas@gmail.com>2014-03-21 00:16:22 +0400
commit8124810028e03ca1e0cd177868f20e7308e086a3 (patch)
tree0d49550281f7f2e6edababa97b4167dd291be473 /LibGit2Sharp/Commit.cs
parenta09f1939f30efe23bd068297bdd93e2f943efe37 (diff)
Update libgit2 to 36a80fd
https://github.com/libgit2/libgit2/compare/65e9dc6...36a80fd
Diffstat (limited to 'LibGit2Sharp/Commit.cs')
-rw-r--r--LibGit2Sharp/Commit.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/LibGit2Sharp/Commit.cs b/LibGit2Sharp/Commit.cs
index 8b380ae8..bdd138f0 100644
--- a/LibGit2Sharp/Commit.cs
+++ b/LibGit2Sharp/Commit.cs
@@ -36,7 +36,7 @@ namespace LibGit2Sharp
internal Commit(Repository repo, ObjectId id)
: base(repo, id)
{
- lazyTree = GitObjectLazyGroup.Singleton(this.repo, id, obj => new Tree(this.repo, Proxy.git_commit_tree_oid(obj), null));
+ lazyTree = GitObjectLazyGroup.Singleton(this.repo, id, obj => new Tree(this.repo, Proxy.git_commit_tree_id(obj), null));
group = new GitObjectLazyGroup(this.repo, id);
lazyAuthor = group.AddLazy(Proxy.git_commit_author);
@@ -141,7 +141,7 @@ namespace LibGit2Sharp
for (uint i = 0; i < parentsCount; i++)
{
- ObjectId parentCommitId = Proxy.git_commit_parent_oid(obj.ObjectPtr, i);
+ ObjectId parentCommitId = Proxy.git_commit_parent_id(obj.ObjectPtr, i);
parents.Add(new Commit(repo, parentCommitId));
}