improve upstream merge strategy

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2023-06-24 18:28:11 -07:00
parent b4a5468dcf
commit dfac3e461d

View file

@ -3,4 +3,5 @@ set -euo pipefail
git remote add upstream https://github.com/KhronosGroup/Vulkan-Headers || true git remote add upstream https://github.com/KhronosGroup/Vulkan-Headers || true
git fetch upstream git fetch upstream
git merge upstream/main --strategy ours git merge upstream/main || true
git status --porcelain | awk '{if ($1=="DU") print $2}' | xargs git rm