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-05-20 23:36:00 +0400
committernulltoken <emeric.fermas@gmail.com>2011-05-20 23:39:42 +0400
commit49410b0afecfdd963175c75104787b26f3cda59a (patch)
treea9d4178ea061a7fcdf048406dbab74545b2c2914 /LibGit2Sharp/Commit.cs
parent2a18c09b41dd594fecf23ff5aad42cdc8fce75cf (diff)
Fix an IIS related interop issue
Credit goes to @yysun for having spotted this. Special thanks to @tclem for his wizardry.
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 a67ff6ef..b9368ec6 100644
--- a/LibGit2Sharp/Commit.cs
+++ b/LibGit2Sharp/Commit.cs
@@ -89,8 +89,8 @@ namespace LibGit2Sharp
return new Commit(id, treeId, repo)
{
- Message = NativeMethods.git_commit_message(obj),
- MessageShort = NativeMethods.git_commit_message_short(obj),
+ Message = NativeMethods.git_commit_message(obj).MarshallAsString(),
+ MessageShort = NativeMethods.git_commit_message_short(obj).MarshallAsString(),
Author = new Signature(NativeMethods.git_commit_author(obj)),
Committer = new Signature(NativeMethods.git_commit_committer(obj)),
};