blob: 47bcc8dda33ec609dd295395b4590850ccb7b123 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/sh
#
# This is a simple script to check consistency of the number of
# git mirror repositories. As provided, it checks the master LLVM
# git repo with few its mirrors, and can be easily adapted for
#
#
branch="master"
repos="\
http://llvm.org/git/llvm.git \
https://git.linaro.org/toolchain/llvm/llvm.git \
https://git-us.linaro.org/toolchain/llvm/llvm.git \
https://git-ie.linaro.org/toolchain/llvm/llvm.git \
https://github.com/llvm-mirror/llvm \
"
TZ=UTC date "+%Y%m%dT%H:%M:%SZ"
for repo in $repos; do
echo $repo
git ls-remote $repo $branch
done
|