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:
authornulltoken <emeric.fermas@gmail.com>2011-09-13 18:59:28 +0400
committernulltoken <emeric.fermas@gmail.com>2011-09-14 19:21:44 +0400
commit75ae7f95d566368c7d4c8cb0264c1e403fcabb90 (patch)
tree3cbd72f3274ef3c0683c88c90293040e2535966b /LibGit2Sharp/CommitCollection.cs
parent5295b22c3f2443a7cf76a27f94c1b799cd78b3df (diff)
Defer loading of Tag.Annotation and Tag.Target properties
Diffstat (limited to 'LibGit2Sharp/CommitCollection.cs')
-rw-r--r--LibGit2Sharp/CommitCollection.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/LibGit2Sharp/CommitCollection.cs b/LibGit2Sharp/CommitCollection.cs
index baa11b00..bf87512e 100644
--- a/LibGit2Sharp/CommitCollection.cs
+++ b/LibGit2Sharp/CommitCollection.cs
@@ -315,7 +315,7 @@ namespace LibGit2Sharp
if (obj is TagAnnotation)
{
- return DereferenceToCommit(((TagAnnotation)obj).TargetId.Sha);
+ return DereferenceToCommit(((TagAnnotation)obj).Target.Sha);
}
throw new InvalidOperationException();
@@ -343,7 +343,7 @@ namespace LibGit2Sharp
if (identifier is TagAnnotation)
{
- yield return DereferenceToCommit(((TagAnnotation)identifier).TargetId.Sha);
+ yield return DereferenceToCommit(((TagAnnotation)identifier).Target.Id.Sha);
yield break;
}