git-wad

Manage files via git but not their content
git clone git://git.meso-star.fr/git-wad.git
Log | Files | Refs | README | LICENSE

commit d12cea97cfff7cfaf6d90318c9b143c5eb05bd41
parent 9622b3bc0101d17107d19cebb8e3844d5c7f1aa2
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed,  2 Oct 2024 18:55:04 +0200

Improve portability when using web/gopher remotes

Removal of the --remove-on-error option from the curl command used to
transfer data via the http[s]/gopher[s] protocol. This is a fairly
recent option, and is therefore not supported on all systems with an
older version of curl (< 7.83).

Diffstat:
Mgit-wad | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/git-wad b/git-wad @@ -387,7 +387,7 @@ fetch() # [-1a] if echo "${GIT_WAD_REMOTE_FETCH}" | grep -q \ -e "^http[s]\{0,1\}://" \ -e "^gopher[s]\{0,1\}://"; then - xargs -I {} curl --remove-on-error -w "{}\n" \ + xargs -I {} curl -w "{}\n" \ -o "${GIT_WAD_OBJDIR}/{}" "${GIT_WAD_REMOTE_FETCH}/{}" \ < "${objects_to_fetch}"