From dae10dd48210fe26e79d5eea4e625c3041300e29 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Wed, 22 May 2024 15:53:37 +0100 Subject: git.sh: remove meaningless check in the function that immediately follows, it starts two for loops that check every item in that directory, using the asterisk wildcard. if the directory does not exist, then the for loop will simply break on first pass. Signed-off-by: Leah Rowe --- include/git.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/git.sh b/include/git.sh index c28a02ad..46371f90 100755 --- a/include/git.sh +++ b/include/git.sh @@ -128,8 +128,6 @@ patch_submodules() while read -r modsrcdir; do modpatchdir="$moddir/${modsrcdir##*/}/patches" - [ -d "$modpatchdir" ] || continue - git_am_patches "$tmpgit/$modsrcdir" "$modpatchdir" done < "$tmpdir/modules" } -- cgit v1.2.1