From 86f5bf7e3f6ce64b57b80df81c7f928caf2259fb Mon Sep 17 00:00:00 2001 From: bryan Date: Tue, 29 Jul 2025 00:32:38 -0400 Subject: [PATCH] Skip fetch --- openwrtbuilder | 7 ------- 1 file changed, 7 deletions(-) diff --git a/openwrtbuilder b/openwrtbuilder index 76affe6..8bf8ecc 100755 --- a/openwrtbuilder +++ b/openwrtbuilder @@ -512,13 +512,6 @@ from_source() { echo "Building from source is under development" - # Ensure branch exists locally (if it's a branch) - if git -C "$SRC_DIR" show-ref --verify --quiet "refs/heads/$ref"; then - if ! git -C "$SRC_DIR" worktree list | grep -q "$ref"; then - execute git -C "$SRC_DIR" fetch origin "$ref:$ref" - fi - fi - # Remove all build directories and worktrees if ((RESET)); then if [[ -d "$BUILD_DIR" || -d "$worktree_meta" ]]; then