Skip to content

Commit

Permalink
Merge pull request #1310 from xnox/broken-recurse-submodules
Browse files Browse the repository at this point in the history
git-checkout: fix recurse='true' does nothing
  • Loading branch information
xnox committed Jun 19, 2024
2 parents 2923188 + d31a2af commit 5cef6ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/build/pipelines/git-checkout.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ pipeline:
local flags="" depthflag="" dest_fullpath="" workdir=""
local remote="origin" rcfile="" rc=""
[ "$recurse" = "true" ] && flags="$flags --recurse-submodules"
[ -n "$branch" ] && flags="--branch=$branch"
[ -n "$tag" ] && flags="--branch=$tag"
[ "$recurse" = "true" ] && flags="$flags --recurse-submodules"
[ "$depth" = "-1" ] || depthflag="--depth=$depth"
Expand Down

0 comments on commit 5cef6ac

Please sign in to comment.