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:
authorKeith Dahlby <dahlbyk@gmail.com>2012-12-06 23:04:43 +0400
committernulltoken <emeric.fermas@gmail.com>2012-12-06 23:04:43 +0400
commit1fdbc89cd653f7fb9b64d7ab94f8de6ede25711a (patch)
treed32b4a1b9887391d6c902757ccc1523df5870f6c /LibGit2Sharp/RepositoryInformation.cs
parent27346201a003a9a5c1e177dedf84968ba677256e (diff)
Introduce Repository.Info.CurrentOperation
Diffstat (limited to 'LibGit2Sharp/RepositoryInformation.cs')
-rw-r--r--LibGit2Sharp/RepositoryInformation.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/LibGit2Sharp/RepositoryInformation.cs b/LibGit2Sharp/RepositoryInformation.cs
index 4b0fa581..57271e15 100644
--- a/LibGit2Sharp/RepositoryInformation.cs
+++ b/LibGit2Sharp/RepositoryInformation.cs
@@ -71,5 +71,13 @@ namespace LibGit2Sharp
{
get { return Proxy.git_repository_head_orphan(repo.Handle); }
}
+
+ /// <summary>
+ /// The pending interactive operation.
+ /// </summary>
+ public virtual CurrentOperation CurrentOperation
+ {
+ get { return Proxy.git_repository_state(repo.Handle); }
+ }
}
}