summaryrefslogtreecommitdiff
path: root/chromium/tools/git/post-merge
blob: 8af0555c2fdc2862fdceaab13f9fd0304c92dd46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
# Copyright 2010 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

script=$(readlink $0)
source $(dirname ${script:-$0})/git-utils.sh

if git diff-tree ORIG_HEAD HEAD | grep -qs $'\tDEPS$'; then
    warn "DEPS has changed; you probably need to re-run gclient sync."
fi