summaryrefslogtreecommitdiff
path: root/include/git.sh
diff options
context:
space:
mode:
Diffstat (limited to 'include/git.sh')
-rwxr-xr-xinclude/git.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/git.sh b/include/git.sh
index 3ee27fc6..46b63014 100755
--- a/include/git.sh
+++ b/include/git.sh
@@ -11,8 +11,7 @@ fetch_project_trees()
[ ! -d "src/$project/$project" ] && x_ mkdir -p "src/$project" \
&& fetch_project_repo "$project"
fetch_config
- e "src/$project/$tree" d && return 0
- prepare_new_tree
+ e "src/$project/$tree" d || prepare_new_tree; return 0
}
fetch_config()