Chromium Code Reviews| Index: crup-runner.sh |
| diff --git a/crup-runner.sh b/crup-runner.sh |
| index 987dcc2939f6556686ff1746cbc681fa5e737f15..38b6e4699289c73f5c53bd6a2d14e6a1d0cec828 100755 |
| --- a/crup-runner.sh |
| +++ b/crup-runner.sh |
| @@ -64,6 +64,11 @@ solution="${1%%/*}" |
| cd "$solution" |
| if [ "$solution" = "$1" ]; then |
| + # Skip git checkouts not managed by crup. |
| + if ! grep -q -s "The Chromium Authors" ".git/description"; then |
| + exit 0 |
|
szager1
2013/01/23 18:18:10
Let's add this too:
echo "Skipping unmanaged git
|
| + fi |
| + |
| # Don't "pull" if checkout is not on a named branch |
| shift |
| if test "$2" = "pull" && ( ! git symbolic-ref HEAD >/dev/null 2>/dev/null ); then |