8000 Update to pending libgit2 change 0b9216802ee929d3e0e94e8ce5519cd9b99d… · timonvo/git2-rs@b5e6f9e · GitHub
[go: up one dir, main page]

Skip to content

Commit b5e6f9e

Browse files
committed
Update to pending libgit2 change 0b9216802ee929d3e0e94e8ce5519cd9b99d8d20.
This fixes patch file -> diff -> patch file round tripping when binary data is included. See libgit2/libgit2#7051.
1 parent e8c9126 commit b5e6f9e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "libgit2-sys/libgit2"]
22
path = libgit2-sys/libgit2
3-
url = https://github.com/libgit2/libgit2
3+
url = https://github.com/timonvo/libgit2

libgit2-sys/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ The build is now aborting. To disable, unset the variable or use `LIBGIT2_NO_VEN
206206
}
207207

208208
// Use the CollisionDetection SHA1 implementation.
209-
features.push_str("#define GIT_SHA1_COLLISIONDETECT 1\n");
209+
features.push_str("#define GIT_SHA1_BUILTIN 1\n");
210210
cfg.define("SHA1DC_NO_STANDARD_INCLUDES", "1");
211211
cfg.define("SHA1DC_CUSTOM_INCLUDE_SHA1_C", "\"common.h\"");
212212
cfg.define("SHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C", "\"common.h\"");

libgit2-sys/libgit2

Submodule libgit2 updated 388 files

0 commit comments

Comments
 (0)
0