| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 # Copyright (c) 2014 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2014 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 UPSTREAM=$(git config depot_tools.upstream 2>/dev/null || echo origin/master) | 6 UPSTREAM=$(git config depot_tools.upstream 2>/dev/null || echo origin/master) |
| 7 git checkout "$UPSTREAM" | 7 git reparent-branch "$UPSTREAM" |
| OLD | NEW |