Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Contribute to GitLab
  • Sign in / Register
C
Chromium_Depot_tools
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Linshizhi
  • Chromium_Depot_tools
  • Repository

Switch branch/tag
  • chromium_depot_tools
  • git-nav-upstream
Find file
BlameHistoryPermalink
  • Leszek Swirski's avatar
    Make git-nav-upstream use the upstream branch name · e989bb2b
    Leszek Swirski authored Mar 28, 2019
    The previous git-nav-upstream fix used the current branch name, and
    stored the upstream move relative to that branch (in the reflog), e.g
    nav-upstream from branch foo to origin/master would should foo@{u}.
    This unfortunately breaks if the branch is then deleted, so now we
    calculate the upstream branch before checking it out, by passing
    "@{u}" rather than HEAD to rev-parse.
    
    Change-Id: I14a2eb8493d63e8386e988fd68b8a3125f19ce2d
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1536070
    Auto-Submit: Leszek Swirski <leszeks@chromium.org>
    Commit-Queue: Robbie Iannucci <iannucci@chromium.org>
    Reviewed-by: 's avatarRobbie Iannucci <iannucci@chromium.org>
    e989bb2b
git-nav-upstream 236 Bytes
EditWeb IDE

Replace git-nav-upstream

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.