diff options
author | Ben Straub <bs@github.com> | 2013-05-15 12:14:53 +0400 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2013-05-26 21:06:44 +0400 |
commit | 96df5f8d6d3e35f8aadafdc25a95ede3eb9e86b5 (patch) | |
tree | f3c09871aca1947ec920cfd470480b792c3a2346 /Lib | |
parent | 96553dffb2204c3debe2a8cc9e3bb6abe6e3e38e (diff) |
Update libgit2 binaries to 5aee963
https://github.com/libgit2/libgit2/compare/b641c00...5aee963
This also change naming convention of libgit2 binaries.
Each LibGit2Sharp version works against a specific version of libgit2.
LibGit2Sharp managed code relies on the dynamic loader to find the proper libgit2 binary. This binary is located in a directory structure next to the managed assembly, and the loader is instructed to search within this directory structure.
Up until now, the binary being searched for was bearing a generic name: [lib]git2.(dll|so|dylib).
However, on Windows, if one older version of the native binary, with the same name, is already loaded in the memory, the loader will reuse this one, no matter what directory it's been loaded from. Chances are great that this old libgit2 version is incompatible with what the newer version of LibGit2Sharp expects from its API or behavior.
In order to mitigate this, libgit2 binaries are now suffixed with the libgit2 commit sha they've been build from and LibGit2Sharp will bind to a specifically named binary:
- git2-{short_sha}.dll on Windows
- libgit2-{short_sha}.so on Linux
- libgit2-{short_sha}.dylib on Mac OS X.
This should allow one to run two different future version of LibGit2Sharp, side by side, without any name clash.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/NativeBinaries/amd64/git2-5aee963.dll | bin | 0 -> 761344 bytes |
-rw-r--r-- | Lib/NativeBinaries/amd64/git2-5aee963.pdb (renamed from Lib/NativeBinaries/amd64/git2.pdb) | bin | 4820992 -> 4861952 bytes |
-rw-r--r-- | Lib/NativeBinaries/amd64/git2.dll | bin | 752640 -> 0 bytes |
-rw-r--r-- | Lib/NativeBinaries/x86/git2-5aee963.dll | bin | 0 -> 573952 bytes |
-rw-r--r-- | Lib/NativeBinaries/x86/git2-5aee963.pdb (renamed from Lib/NativeBinaries/x86/git2.pdb) | bin | 4763648 -> 4812800 bytes |
-rw-r--r-- | Lib/NativeBinaries/x86/git2.dll | bin | 568832 -> 0 bytes |
6 files changed, 0 insertions, 0 deletions
diff --git a/Lib/NativeBinaries/amd64/git2-5aee963.dll b/Lib/NativeBinaries/amd64/git2-5aee963.dll Binary files differnew file mode 100644 index 00000000..818957bf --- /dev/null +++ b/Lib/NativeBinaries/amd64/git2-5aee963.dll diff --git a/Lib/NativeBinaries/amd64/git2.pdb b/Lib/NativeBinaries/amd64/git2-5aee963.pdb Binary files differindex a6088a28..569fe439 100644 --- a/Lib/NativeBinaries/amd64/git2.pdb +++ b/Lib/NativeBinaries/amd64/git2-5aee963.pdb diff --git a/Lib/NativeBinaries/amd64/git2.dll b/Lib/NativeBinaries/amd64/git2.dll Binary files differdeleted file mode 100644 index ed03a169..00000000 --- a/Lib/NativeBinaries/amd64/git2.dll +++ /dev/null diff --git a/Lib/NativeBinaries/x86/git2-5aee963.dll b/Lib/NativeBinaries/x86/git2-5aee963.dll Binary files differnew file mode 100644 index 00000000..3c86e1d9 --- /dev/null +++ b/Lib/NativeBinaries/x86/git2-5aee963.dll diff --git a/Lib/NativeBinaries/x86/git2.pdb b/Lib/NativeBinaries/x86/git2-5aee963.pdb Binary files differindex 979b5d37..31eb9eee 100644 --- a/Lib/NativeBinaries/x86/git2.pdb +++ b/Lib/NativeBinaries/x86/git2-5aee963.pdb diff --git a/Lib/NativeBinaries/x86/git2.dll b/Lib/NativeBinaries/x86/git2.dll Binary files differdeleted file mode 100644 index 5846aeff..00000000 --- a/Lib/NativeBinaries/x86/git2.dll +++ /dev/null |