summaryrefslogtreecommitdiff
path: root/include/git.sh
diff options
context:
space:
mode:
Diffstat (limited to 'include/git.sh')
-rwxr-xr-xinclude/git.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/git.sh b/include/git.sh
index 686eb496..04119cae 100755
--- a/include/git.sh
+++ b/include/git.sh
@@ -121,7 +121,6 @@ patch_submodules()
{
mdir="${PWD}/config/submodule/$project"
[ -n "$tree" ] && mdir="$mdir/$tree"
- [ -d "$mdir" ] || return 0
git -C "$tmpgit" submodule status | awk '{print $2}' > \
"$tmpdir/modules" || $err "$mdir: cannot list submodules"