From 3d46d3e4c56550e6239ef3e311a74b875a8f36e5 Mon Sep 17 00:00:00 2001 From: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Date: Wed, 20 Mar 2019 00:47:29 +0100 Subject: [PATCH 1/2] Change http links to https. --- book/B-embedding-git/sections/jgit.asc | 8 ++++---- book/B-embedding-git/sections/libgit2.asc | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/book/B-embedding-git/sections/jgit.asc b/book/B-embedding-git/sections/jgit.asc index dd8696b81..010252118 100644 --- a/book/B-embedding-git/sections/jgit.asc +++ b/book/B-embedding-git/sections/jgit.asc @@ -3,7 +3,7 @@ (((jgit)))(((Java))) If you want to use Git from within a Java program, there is a fully featured Git library called JGit. JGit is a relatively full-featured implementation of Git written natively in Java, and is widely used in the Java community. -The JGit project is under the Eclipse umbrella, and its home can be found at http://www.eclipse.org/jgit[]. +The JGit project is under the Eclipse umbrella, and its home can be found at https://www.eclipse.org/jgit/[]. ==== Getting Set Up @@ -19,10 +19,10 @@ Probably the easiest is to use Maven – the integration is accomplished by addi ---- -The `version` will most likely have advanced by the time you read this; check http://mvnrepository.com/artifact/org.eclipse.jgit/org.eclipse.jgit[] for updated repository information. +The `version` will most likely have advanced by the time you read this; check https://mvnrepository.com/artifact/org.eclipse.jgit/org.eclipse.jgit[] for updated repository information. Once this step is done, Maven will automatically acquire and use the JGit libraries that you'll need. -If you would rather manage the binary dependencies yourself, pre-built JGit binaries are available from http://www.eclipse.org/jgit/download[]. +If you would rather manage the binary dependencies yourself, pre-built JGit binaries are available from https://www.eclipse.org/jgit/download[]. You can build them into your project by running a command like this: [source,console] @@ -155,6 +155,6 @@ Many other commands are available through the Git class, including but not limit This is only a small sampling of JGit's full capabilities. If you're interested and want to learn more, here's where to look for information and inspiration: -* The official JGit API documentation can be found at http://www.eclipse.org/jgit/documentation/[]. +* The official JGit API documentation can be found at https://www.eclipse.org/jgit/documentation[]. These are standard Javadoc, so your favorite JVM IDE will be able to install them locally, as well. * The JGit Cookbook at https://github.com/centic9/jgit-cookbook[] has many examples of how to do specific tasks with JGit. diff --git a/book/B-embedding-git/sections/libgit2.asc b/book/B-embedding-git/sections/libgit2.asc index 049925098..ba7f39991 100644 --- a/book/B-embedding-git/sections/libgit2.asc +++ b/book/B-embedding-git/sections/libgit2.asc @@ -3,7 +3,7 @@ (((libgit2)))((("C"))) Another option at your disposal is to use Libgit2. Libgit2 is a dependency-free implementation of Git, with a focus on having a nice API for use within other programs. -You can find it at http://libgit2.github.com[]. +You can find it at https://github.com/libgit2/libgit2[]. First, let's take a look at what the C API looks like. Here's a whirlwind tour: @@ -222,7 +222,7 @@ Objective-git is fully interoperable with Swift, so don't fear if you've left Ob ===== pygit2 (((Python))) -The bindings for Libgit2 in Python are called Pygit2, and can be found at http://www.pygit2.org/[]. +The bindings for Libgit2 in Python are called Pygit2, and can be found at https://www.pygit2.org[]. Our example program: [source,python] From 66da18c4f7da7efdd7b3de4a9a6572eeed00d7e1 Mon Sep 17 00:00:00 2001 From: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Date: Wed, 20 Mar 2019 17:33:26 +0100 Subject: [PATCH 2/2] Change link to point to https://libgit2.org/ --- book/B-embedding-git/sections/libgit2.asc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/B-embedding-git/sections/libgit2.asc b/book/B-embedding-git/sections/libgit2.asc index ba7f39991..1c2e95911 100644 --- a/book/B-embedding-git/sections/libgit2.asc +++ b/book/B-embedding-git/sections/libgit2.asc @@ -3,7 +3,7 @@ (((libgit2)))((("C"))) Another option at your disposal is to use Libgit2. Libgit2 is a dependency-free implementation of Git, with a focus on having a nice API for use within other programs. -You can find it at https://github.com/libgit2/libgit2[]. +You can find it at https://libgit2.org[]. First, let's take a look at what the C API looks like. Here's a whirlwind tour: