Merge pull request #37976 from AutomaticFrenzy/patch/dmi-merger

Add a Python script to fix DMI conflicts
This commit is contained in:
Jordan Brown
2018-05-25 10:55:33 -05:00
committed by letterjay
parent cc088d9113
commit e37a9a36ed
8 changed files with 446 additions and 9 deletions
+3
View File
@@ -1,4 +1,5 @@
#!/bin/bash
set -e
shopt -s nullglob
cd "$(dirname "$0")"
for f in *.hook; do
@@ -9,4 +10,6 @@ for f in *.merge; do
echo Installing merge driver: ${f%.merge}
git config --replace-all merge.${f%.merge}.driver "tools/hooks/$f %P %O %A %B %L"
done
echo Installing Python dependencies
./python.sh -m pip install -r ../mapmerge2/requirements.txt
echo "Done"