summaryrefslogtreecommitdiffstats
path: root/tools/git/post-merge
blob: 8b774ce65937209b2d54fde9f1585ea5d1a3270e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
# 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.

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