We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2cc424 commit 8530574Copy full SHA for 8530574
1 file changed
git-synchronizer.sh
@@ -66,10 +66,10 @@ fetch_from () {
66
add_error "Could not add remote $name ($url)"
67
return 1
68
}
69
- test -n "$pushurl" &&
70
- test "$pushurl" != "$url" &&
71
- git config remote.$name.pushURL "$pushurl"
72
fi
+ test -n "$pushurl" &&
+ test "$pushurl" != "$url" &&
+ git config remote.$name.pushURL "$pushurl"
73
previous="$(get_remote_branches $name)"
74
git fetch --prune $name >&2 || {
75
add_error "Could not fetch $name"
0 commit comments