Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 922
Update LibGit2 to version 1.1.1#1905
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Uh oh!
There was an error while loading. Please reload this page.
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -227,7 +227,7 @@ private sealed class NativeShutdownObject : CriticalFinalizerObject | ||
| internal static extern unsafe GitError* git_error_last(); | ||
| [DllImport(libgit2, CallingConvention = CallingConvention.Cdecl)] | ||
| internal static extern void git_error_set_str( | ||
| internal static extern int git_error_set_str( | ||
bording marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| GitErrorCategory error_class, | ||
| [MarshalAs(UnmanagedType.CustomMarshaler, MarshalCookie = UniqueId.UniqueIdentifier, MarshalTypeRef = typeof(StrictUtf8Marshaler))] string errorString); | ||
| @@ -252,25 +252,25 @@ internal static extern unsafe int git_blame_file( | ||
| internal static extern unsafe void git_blame_free(git_blame* blame); | ||
| [DllImport(libgit2, CallingConvention = CallingConvention.Cdecl)] | ||
| internal static extern unsafe int git_blob_create_fromdisk( | ||
| internal static extern unsafe int git_blob_create_from_disk( | ||
| ref GitOid id, | ||
| git_repository* repo, | ||
| [MarshalAs(UnmanagedType.CustomMarshaler, MarshalCookie = UniqueId.UniqueIdentifier, MarshalTypeRef = typeof(StrictFilePathMarshaler))] FilePath path); | ||
| [DllImport(libgit2, CallingConvention = CallingConvention.Cdecl)] | ||
| internal static extern unsafe int git_blob_create_fromworkdir( | ||
| internal static extern unsafe int git_blob_create_from_workdir( | ||
| ref GitOid id, | ||
| git_repository* repo, | ||
| [MarshalAs(UnmanagedType.CustomMarshaler, MarshalCookie = UniqueId.UniqueIdentifier, MarshalTypeRef = typeof(StrictFilePathMarshaler))] FilePath relative_path); | ||
| [DllImport(libgit2, CallingConvention = CallingConvention.Cdecl)] | ||
| internal static extern unsafe int git_blob_create_fromstream( | ||
| internal static extern unsafe int git_blob_create_from_stream( | ||
| out IntPtr stream, | ||
| git_repository* repositoryPtr, | ||
| [MarshalAs(UnmanagedType.CustomMarshaler, MarshalCookie = UniqueId.UniqueIdentifier, MarshalTypeRef = typeof(StrictUtf8Marshaler))] string hintpath); | ||
| [DllImport(libgit2, CallingConvention = CallingConvention.Cdecl)] | ||
| internal static extern int git_blob_create_fromstream_commit( | ||
| internal static extern int git_blob_create_from_stream_commit( | ||
| ref GitOid oid, | ||
| IntPtr stream); | ||
| @@ -1616,7 +1616,7 @@ internal static extern unsafe int git_repository_open_ext( | ||
| internal static extern unsafe FilePath git_repository_path(git_repository* repository); | ||
| [DllImport(libgit2, CallingConvention = CallingConvention.Cdecl)] | ||
| internal static extern unsafe void git_repository_set_config( | ||
| internal static extern unsafe int git_repository_set_config( | ||
| git_repository* repository, | ||
| git_config* config); | ||
| @@ -1628,7 +1628,7 @@ internal static extern unsafe int git_repository_set_ident( | ||
| [DllImport(libgit2, CallingConvention = CallingConvention.Cdecl)] | ||
| internal static extern unsafe void git_repository_set_index( | ||
| internal static extern unsafe int git_repository_set_index( | ||
| git_repository* repository, | ||
| git_index* index); | ||
| @@ -1710,13 +1710,13 @@ internal static extern unsafe int git_revparse_ext( | ||
| internal static extern unsafe int git_revwalk_push(git_revwalk* walker, ref GitOid id); | ||
| [DllImport(libgit2, CallingConvention = CallingConvention.Cdecl)] | ||
| internal static extern unsafe void git_revwalk_reset(git_revwalk* walker); | ||
| internal static extern unsafe int git_revwalk_reset(git_revwalk* walker); | ||
| [DllImport(libgit2, CallingConvention = CallingConvention.Cdecl)] | ||
| internal static extern unsafe void git_revwalk_sorting(git_revwalk* walk, CommitSortStrategies sort); | ||
| internal static extern unsafe int git_revwalk_sorting(git_revwalk* walk, CommitSortStrategies sort); | ||
| [DllImport(libgit2, CallingConvention = CallingConvention.Cdecl)] | ||
| internal static extern unsafe void git_revwalk_simplify_first_parent(git_revwalk* walk); | ||
| internal static extern unsafe int git_revwalk_simplify_first_parent(git_revwalk* walk); | ||
| [DllImport(libgit2, CallingConvention = CallingConvention.Cdecl)] | ||
| internal static extern unsafe void git_signature_free(git_signature* signature); | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.