File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1115,7 +1115,7 @@ get-command-options() {
11151115 all_wanted=true ;;
11161116 -b) subrepo_branch=${1%%@* }
11171117 override_branch=${1%%@* }
1118- if [ ${subrepo_branch} != " ${1} " ]; then
1118+ if [ " ${subrepo_branch} " != " ${1} " ]; then
11191119 subrepo_branch_commit=${1#*@ }
11201120 fi
11211121 commit_msg_args+=(" --branch=$1 " )
@@ -1682,7 +1682,7 @@ reset-upstream-subrepo-branch-commit() {
16821682 error " Problem finding head commit in upstream branch '${subrepo_branch} '."
16831683
16841684 if [[ ! " ${branch_commit} " =~ ^$subrepo_branch_commit ]]; then
1685- OUT=true FAIL=false RUN git rev-list --parents $subrepo_branch_commit .. $branch_commit
1685+ OUT=true FAIL=false RUN git rev-list --parents " $subrepo_branch_commit " .. " $branch_commit "
16861686 branch_commit=$(
16871687 echo " $output " | sed -e ' $!d' -e ' s/.* //'
16881688 )
You can’t perform that action at this time.
0 commit comments