web="`git config --get --path remote.web.url`" || :
remotes="`git config --get update-remotes.remotes`" || :
branches="`git config --get update-remotes.branches`" || :
+files="`git config --get update-remotes.files`" || :
if [ -n "$origin" ]; then
if [ -n "$current" ]; then
echo "Config error (both origin and current)" >&2
exit 1
else
- rsync -ahPv update-remotes "$origin"
+ rsync -ahPv $files update-remotes "$origin"
cd "$origin"
exec ./update-remotes
fi