diff --git a/git-nav-upstream b/git-nav-upstream index e44e397571..6c7190b2c0 100755 --- a/git-nav-upstream +++ b/git-nav-upstream @@ -3,4 +3,4 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -git checkout "$(git rev-parse --abbrev-ref HEAD)@{u}" +git checkout "$(git rev-parse --abbrev-ref "@{u}")"