diff options
author | Keith Dahlby <dahlbyk@gmail.com> | 2012-12-06 23:04:43 +0400 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2012-12-06 23:04:43 +0400 |
commit | 1fdbc89cd653f7fb9b64d7ab94f8de6ede25711a (patch) | |
tree | d32b4a1b9887391d6c902757ccc1523df5870f6c /LibGit2Sharp/RepositoryInformation.cs | |
parent | 27346201a003a9a5c1e177dedf84968ba677256e (diff) |
Introduce Repository.Info.CurrentOperation
Diffstat (limited to 'LibGit2Sharp/RepositoryInformation.cs')
-rw-r--r-- | LibGit2Sharp/RepositoryInformation.cs | 8 |
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); } + } } } |