Add explicit repo name to git fetch and git fetch --tags

This commit is contained in:
Andrei Alexandrescu 2014-03-14 15:59:55 -07:00
parent 9e0306ec15
commit 19dc18f4a9

View file

@ -142,8 +142,8 @@ function update() {
git checkout master && \
git pull --ff-only $gitproject master && \
git pull $gitproject master --tags && \
git fetch && \
git fetch --tags) 2>$tempdir/$project.log
git fetch $gitproject && \
git fetch --tags $gitproject) 2>$tempdir/$project.log
then
echo "Failure updating $wd/$project." >>$tempdir/errors
exit 1