]> git.proxmox.com Git - rustc.git/blob - debian/llvm-upstream-patch.sh
Update upstream source from tag 'upstream/1.52.1+dfsg1'
[rustc.git] / debian / llvm-upstream-patch.sh
1 #!/bin/sh
2 # Run this on https://github.com/llvm-mirror/llvm
3 # Or another repo where the above is the "upstream" remote
4 set -e
5 head=$(git rev-parse --verify -q remotes/upstream/master || git rev-parse --verify -q remotes/origin/master)
6 test -n "$head"
7 for i in "$@"; do
8 git show $(git rev-list "$head" -n1 --grep='git-svn-id: .*@'"$i") > rL"$i".patch
9 done