vulkan-headers/update.sh
Stephen Gutekanst dfac3e461d improve upstream merge strategy
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-06-24 18:28:11 -07:00

7 lines
240 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
git remote add upstream https://github.com/KhronosGroup/Vulkan-Headers || true
git fetch upstream
git merge upstream/main || true
git status --porcelain | awk '{if ($1=="DU") print $2}' | xargs git rm