diff options
author | nulltoken <emeric.fermas@gmail.com> | 2013-04-18 17:56:01 +0400 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2013-04-18 17:56:01 +0400 |
commit | 74f3bb1689a59f6b076379f23792d33e77d69102 (patch) | |
tree | 2ccc94df82abd6bd7256a332d58ddfc49d8b5464 /LibGit2Sharp/Reference.cs | |
parent | 98a708ff3433d989415982b7ab824ed2b0f88ab5 (diff) |
Align Proxy methods name to libgit2 ones
Diffstat (limited to 'LibGit2Sharp/Reference.cs')
-rw-r--r-- | LibGit2Sharp/Reference.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LibGit2Sharp/Reference.cs b/LibGit2Sharp/Reference.cs index 9ba54e93..8ec06b58 100644 --- a/LibGit2Sharp/Reference.cs +++ b/LibGit2Sharp/Reference.cs @@ -45,7 +45,7 @@ namespace LibGit2Sharp switch (type) { case GitReferenceType.Symbolic: - string targetIdentifier = Proxy.git_reference_target(handle); + string targetIdentifier = Proxy.git_reference_symbolic_target(handle); using (ReferenceSafeHandle resolvedHandle = Proxy.git_reference_resolve(handle)) { @@ -61,7 +61,7 @@ namespace LibGit2Sharp } case GitReferenceType.Oid: - ObjectId targetOid = Proxy.git_reference_oid(handle); + ObjectId targetOid = Proxy.git_reference_target(handle); reference = new DirectReference(name, repo, targetOid); break; |