#!/bin/sh # Copyright (c) 2010 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. base_dir=$(dirname "$0") repo="$base_dir/git-cl-repo" url="http://src.chromium.org/git/git-cl.git" cur_url=$(git config -f "$repo/.git/config" remote.origin.url) if [ -e "$repo" -a "$cur_url" != "$url" ]; then cat <