# FIXME: autobuild4 sets `core.repositoryformatversion` to 1 when fetching submodules. 
#        Since AvaloniaEdit uses a version of Microsoft.Build.Tasks.Git that does not 
#        support Version 1, this ultimately causes the build to fail.
#        I don't know what happened, but to ensure that subsequent builds, I set the 
#        `core.repositoryformatversion` for both of these repositories to 0.
abinfo " Set Git repository format version to 0"
cd "$SRCDIR"
git config --local core.repositoryformatversion 0

cd "$SRCDIR"/depends/AvaloniaEdit/
git config --local core.repositoryformatversion 0
