summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-05-26 00:35:38 +0100
committerLeah Rowe <leah@libreboot.org>2025-05-26 00:35:38 +0100
commitffe387ac6b98d99f82660410f23bb931e04beed8 (patch)
tree4d877d9817282a438b6faed9c5f3ea94b92fc40c
parentba7c49c090b7b41564ec5e9c69e60a022c2ace6e (diff)
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 <leah@libreboot.org>
-rw-r--r--include/get.sh1
1 files changed, 0 insertions, 1 deletions
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 ) || :; :
}