Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified Lib/NativeBinaries/amd64/git2.dll
Binary file not shown.
Binary file modified Lib/NativeBinaries/amd64/git2.pdb
Binary file not shown.
Binary file modified Lib/NativeBinaries/x86/git2.dll
Binary file not shown.
Binary file modified Lib/NativeBinaries/x86/git2.pdb
Binary file not shown.
8 changes: 8 additions & 0 deletions LibGit2Sharp.Tests/FetchHeadFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,14 @@ public void CanIterateFetchHead(string url)
TargetSha = "8f50ba15d49353813cc6e20298002c0d17b0a9ee",
ForMerge = false,
},
new FetchHeadExpected
{
Name = "FETCH_HEAD[6]",
RemoteName = "refs/tags/nearly-dangling",
Url = "git://github.com/libgit2/TestGitRepository.git",
TargetSha = "6e0c7bdb9b4ed93212491ee778ca1c65047cab4e",
ForMerge = false,
},
};

VerifyFetchHead(repo.Network.FetchHeads.ToArray(), expected);
Expand Down
3 changes: 3 additions & 0 deletions LibGit2Sharp/Core/GitDiff.cs
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ internal class GitDiffOptions : IDisposable
public GitStrArrayIn PathSpec;
public Int64 MaxSize;

public IntPtr NotifyCallback;
public IntPtr NotifyPayload;

public void Dispose()
{
if (PathSpec == null)
Expand Down
2 changes: 1 addition & 1 deletion LibGit2Sharp/libgit2_hash.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5f9f69d983d7ebc2d9d29cf295e86f32ab12906d
e026cfee003e103d79e56983d68a206ae907eada
2 changes: 1 addition & 1 deletion libgit2
Submodule libgit2 updated 62 files
+1 −0 AUTHORS
+2 −0 CMakeLists.txt
+0 −1 README.md
+1 −2 examples/general.c
+1 −0 examples/network/clone.c
+25 −0 include/git2/branch.h
+1 −1 include/git2/clone.h
+3 −0 include/git2/cred_helpers.h
+58 −34 include/git2/diff.h
+1 −1 include/git2/net.h
+20 −0 include/git2/refspec.h
+4 −1 include/git2/transport.h
+81 −0 src/branch.c
+1 −1 src/checkout.c
+5 −2 src/clone.c
+1 −0 src/common.h
+38 −12 src/diff.c
+5 −12 src/errors.c
+0 −6 src/fileops.c
+2 −1 src/index.c
+40 −14 src/netops.c
+7 −1 src/netops.h
+1 −1 src/path.c
+14 −3 src/pathspec.c
+10 −2 src/pathspec.h
+16 −2 src/push.c
+5 −0 src/refs.c
+24 −6 src/refspec.c
+29 −6 src/revparse.c
+23 −2 src/transports/cred_helpers.c
+8 −4 src/transports/git.c
+29 −2 src/transports/http.c
+8 −1 src/transports/smart.c
+107 −16 src/transports/smart_protocol.c
+31 −2 src/transports/winhttp.c
+10 −5 src/util.h
+1 −1 src/vector.h
+41 −0 src/win32/error.c
+13 −0 src/win32/error.h
+29 −22 src/win32/findfile.c
+1 −0 src/win32/findfile.h
+18 −3 src/win32/posix_w32.c
+1 −1 tests-clar/clar_libgit2.c
+24 −0 tests-clar/clone/nonetwork.c
+1 −1 tests-clar/core/path.c
+5 −0 tests-clar/diff/diff_helpers.h
+163 −0 tests-clar/diff/workdir.c
+12 −2 tests-clar/fetchhead/fetchhead_data.h
+1 −1 tests-clar/fetchhead/nonetwork.c
+28 −5 tests-clar/network/cred.c
+9 −2 tests-clar/network/remotes.c
+82 −0 tests-clar/network/urlparse.c
+31 −0 tests-clar/online/clone.c
+1 −1 tests-clar/online/fetchhead.c
+7 −1 tests-clar/online/push.c
+119 −0 tests-clar/refs/branches/remote.c
+2 −0 tests-clar/refs/isvalidname.c
+33 −33 tests-clar/refs/rename.c
+109 −0 tests-clar/refs/revparse.c
+20 −20 tests-clar/repo/init.c
+8 −8 tests-clar/repo/message.c
+10 −7 tests-clar/threads/basic.c