Skip to content

Commit

Permalink
Windows: update to libgit2 1.7.0 (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Aug 7, 2023
1 parent 2e5da8c commit fdf7602
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: gert
Title: Simple Git Client for R
Version: 1.9.3
Version: 1.9000
Authors@R: c(
person("Jeroen", "Ooms", role = c("aut", "cre"), email = "[email protected]",
comment = c(ORCID = "0000-0002-4035-0289")),
Expand Down
3 changes: 3 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2.0.0
- Windows: update to libgit2 version 1.7.0

1.9.3
- Add git_commit_stats() function
- Add git_ignore_path_is_ignored() function
Expand Down
2 changes: 1 addition & 1 deletion src/Makevars.win
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION = 1.4.2-fixed
VERSION = 1.7.0
RWINLIB = ../windows/libgit2-$(VERSION)
TARGET = lib$(subst gcc,,$(COMPILED_BY))$(R_ARCH)

Expand Down
4 changes: 3 additions & 1 deletion src/clone.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
#define _GNU_SOURCE 1
#endif

#if defined(__sun)
/* Beginning in libgit2 v1.4.5 and v1.5.1, libgit2 will now perform host key checking by default.
* However on Windows libssh does not have access to the cert store */
#if defined(__sun) || defined(_WIN32)
#define SKIP_CERTIFICATE_CHECK
#endif

Expand Down

0 comments on commit fdf7602

Please sign in to comment.