From ffe387ac6b98d99f82660410f23bb931e04beed8 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 26 May 2025 00:35:38 +0100 Subject: get.sh: remove superfluous command in try_git() A git-pull is performed immediately after git-fetch. Git-pull already performs git-fetch as a prerequisite. Signed-off-by: Leah Rowe --- include/get.sh | 1 - 1 file changed, 1 deletion(-) (limited to 'include') diff --git a/include/get.sh b/include/get.sh index 3d06eb4a..4105b93f 100644 --- a/include/get.sh +++ b/include/get.sh @@ -149,7 +149,6 @@ try_git() ( x_ git -C "$gitdest" remote remove backup ) || : x_ git -C "$gitdest" remote add main "$4" x_ git -C "$gitdest" remote add backup "$5" - ( x_ git -C "$gitdest" fetch --all ) || : ( x_ git -C "$gitdest" pull --all ) || :; : } -- cgit v1.2.1