Chromium Code Reviews| Index: git-nav-upstream |
| diff --git a/git-new-tracking-branch b/git-nav-upstream |
| similarity index 64% |
| copy from git-new-tracking-branch |
| copy to git-nav-upstream |
| index 0fbe2efde90f0b902de1270dad443e0525fe5e1f..b35eebf48770a63932810c273464c77f531eb5f9 100755 |
| --- a/git-new-tracking-branch |
| +++ b/git-nav-upstream |
| @@ -3,5 +3,4 @@ |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| -NEW_BRANCH=${1?Must supply new branch name as first argument} |
| -git checkout --track -b "$NEW_BRANCH" |
| +git checkout '@{u}' |