diff --git a/update_depot_tools b/update_depot_tools index f60d87e95..fe36f0b28 100755 --- a/update_depot_tools +++ b/update_depot_tools @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright (c) 2011 The Chromium Authors. All rights reserved. +# Copyright (c) 2012 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. @@ -70,7 +70,7 @@ function is_git_clone_repo { function update_git_repo { if is_git_clone_repo; then git fetch -q origin > /dev/null - git rebase -q origin > /dev/null + git rebase -q origin/master > /dev/null return 0 fi