blob: 84b9d1797bdc5ee673c39e188cc83d116ebc19d4 [file] [log] [blame]
#!/bin/sh
pwd
for i in org.eclipse.mylyn*; do
cd $i
echo Entering \'$i\'
fetchnode="`git config --local --get-all remote.origin.fetch | grep "/notes"`"
if [ -z "$fetchnode" ]
then
git config --add remote.origin.fetch 'refs/notes/*:refs/notes/*'
fi
fetchnode="`git config --local --get remote.origin.push`"
if [ -z "$fetchnode" ]
then
git config --add remote.origin.push 'HEAD:refs/for/master'
fi
fetchnode="`git config --local --get core.autocrlf`"
if [ -z "$fetchnode" ]
then
git config --add core.autocrlf 'false'
fi
cd ..
done