mirror of https://github.com/CGAL/cgal
also prune tags
This commit is contained in:
parent
4f71e0da4c
commit
b44bbf10bd
|
|
@ -53,7 +53,14 @@ do
|
|||
fi
|
||||
done
|
||||
|
||||
# TODO to the same for tags
|
||||
git for-each-ref refs/tags | cut -d / -f 3- | while read ref
|
||||
do
|
||||
svn ls "$SVN/tags/$ref" --depth empty
|
||||
error=$?
|
||||
if [ $error -ne 0 ]; then
|
||||
git tag -d $ref
|
||||
fi
|
||||
done
|
||||
|
||||
echo "#Compact repository"
|
||||
git gc --auto --prune=now
|
||||
|
|
|
|||
Loading…
Reference in New Issue