]>
Commit | Line | Data |
---|---|---|
0b75bef2 XL |
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 |