Skip to content

Commit 7e0c64b

Browse files
committed
fixup! Moar
1 parent 4c58ff3 commit 7e0c64b

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

LibGit2Sharp/Core/GitOdbBackend.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public delegate int write_callback(
130130
public delegate int writestream_callback(
131131
out IntPtr stream_out,
132132
IntPtr backend,
133-
UIntPtr length,
133+
Int64 length,
134134
GitObjectType type);
135135

136136
/// <summary>

LibGit2Sharp/Network.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ static void DoFetch(RepositorySafeHandle repoHandle, Remote remote, string url,
156156
var fetchOptions = new GitFetchOptions
157157
{
158158
RemoteCallbacks = gitCallbacks,
159+
download_tags = Proxy.git_remote_autotag(remoteHandle),
159160
};
160161

161162
if (options.TagFetchMode.HasValue)

LibGit2Sharp/OdbBackend.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -438,13 +438,11 @@ private static unsafe int Write(
438438
private static int WriteStream(
439439
out IntPtr stream_out,
440440
IntPtr backend,
441-
UIntPtr len,
441+
Int64 length,
442442
GitObjectType type)
443443
{
444444
stream_out = IntPtr.Zero;
445445

446-
long length = ConverToLong(len);
447-
448446
OdbBackend odbBackend = MarshalOdbBackend(backend);
449447
if (odbBackend == null)
450448
{

0 commit comments

Comments
 (0)