Skip to content

Commit 50f730d

Browse files
committed
Fix spacing in the $force variable.
1 parent afc58b8 commit 50f730d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/git-subrepo

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -652,11 +652,11 @@ subrepo:push() {
652652
fi
653653
fi
654654

655-
local force=
656-
"$force_wanted" && force=--force
655+
local force=''
656+
"$force_wanted" && force=' --force'
657657

658-
o "Push $force branch '$branch_name' to '$subrepo_remote' ($subrepo_branch)."
659-
RUN git push $force "$subrepo_remote" "$branch_name":"$subrepo_branch"
658+
o "Push$force branch '$branch_name' to '$subrepo_remote' ($subrepo_branch)."
659+
RUN git push$force "$subrepo_remote" "$branch_name":"$subrepo_branch"
660660

661661
o "Create ref '$refs_subrepo_push' for branch '$branch_name'."
662662
git:make-ref "$refs_subrepo_push" "$branch_name"

0 commit comments

Comments
 (0)