We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ee0be9 commit f29cda6Copy full SHA for f29cda6
1 file changed
git-synchronizer.sh
@@ -156,8 +156,9 @@ for ref in $(echo "$remote_branches" |
156
uniq)
157
do
158
echo "$todo" | grep " $ref$" > /dev/null 2>&1 && continue
159
+ quoted_ref="$(echo "$ref" | sed 's/\./\\&/g')"
160
sha1="$(echo "$remote_branches" |
- sed -n "s|^[^ ]* \([^ ]*\) [^ ]* $ref$|\1|p" |
161
+ sed -n "s|^[^ ]* \([^ ]*\) [^ ]* $quoted_ref$|\1|p" |
162
sort |
163
uniq)"
164
sha1=$(eval get_common_fast_forward $sha1)
0 commit comments