diff --git a/.gitattributes b/.gitattributes index 9d132e955..169ab48f4 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,3 @@ -# Auto detect text files and perform LF normalization -* text=auto - -# Custom for Visual Studio -*.cs diff=csharp +# Auto detect text files and perform LF normalization +* binary + diff --git a/LibGit2Sharp/Core/NativeMethods.cs b/LibGit2Sharp/Core/NativeMethods.cs index b3e7f1297..469e55773 100644 --- a/LibGit2Sharp/Core/NativeMethods.cs +++ b/LibGit2Sharp/Core/NativeMethods.cs @@ -213,8 +213,8 @@ internal static extern unsafe int git_rebase_commit( git_rebase* rebase, git_signature* author, git_signature* committer, - IntPtr message_encoding, - IntPtr message); + [CustomMarshaler(typeof(StrictUtf8Marshaler), typeof(string))] byte* message_encoding, + [CustomMarshaler(typeof(StrictUtf8Marshaler), typeof(string))] byte* message); [DllImport(libgit2)] internal static extern unsafe int git_rebase_abort( pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy