From 651a5ba8d95b89e51488fcdb0d1cf9d6aed9d0ef Mon Sep 17 00:00:00 2001 From: Doug Richardson Date: Mon, 30 Nov 2020 14:57:46 -0800 Subject: [PATCH] Use -L option in curl command to follow redirect returned by www.kernel.org. --- book/10-git-internals/sections/maintenance.asc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/10-git-internals/sections/maintenance.asc b/book/10-git-internals/sections/maintenance.asc index 1cdfcd527..de4a30d8d 100644 --- a/book/10-git-internals/sections/maintenance.asc +++ b/book/10-git-internals/sections/maintenance.asc @@ -192,7 +192,7 @@ First, add a large object to your history: [source,console] ---- -$ curl https://www.kernel.org/pub/software/scm/git/git-2.1.0.tar.gz > git.tgz +$ curl -L https://www.kernel.org/pub/software/scm/git/git-2.1.0.tar.gz > git.tgz $ git add git.tgz $ git commit -m 'Add git tarball' [master 7b30847] Add git tarball