1. 24 2月, 2019 1 次提交
    • M
      [checkout] Make it work independently of remote refspec · 5d42f7db
      Mislav Marohnić 提交于
      This fixes:
      
          fatal: Cannot setup tracking information; starting point 'BRANCH' is not a branch.
      
      if the remote refspec is set up to only fetch specific branches and NOT
      like the default `+refs/heads/*:refs/remotes/origin/*`.
      
      I don't understand why would git, after fetching into
      `refs/remotes/origin/BRANCH`, complain that `origin/BRANCH` is not a
      branch, but there we have it. Setting up upstream tracking manually
      works around this problem.
      5d42f7db
  2. 28 12月, 2018 1 次提交
  3. 06 6月, 2018 1 次提交
  4. 24 4月, 2017 1 次提交
  5. 09 4月, 2017 1 次提交
  6. 04 2月, 2017 1 次提交
  7. 03 2月, 2017 1 次提交
    • N
      Set merge configuration on checkout. · 93df8266
      Natalie Weizenbaum 提交于
      When checking out a pull request that doesn't match an existing remote,
      this sets the branch's remote and merge configuration fields. If the
      pull request is modifiable by the maintainer, it uses the SSH URL to
      that you can push to the pull request.
      93df8266
  8. 04 10月, 2016 2 次提交
  9. 12 9月, 2016 1 次提交
    • M
      If found, reuse existing git remote for PR head in `checkout` · e1ef66ab
      Mislav Marohnić 提交于
      When there is already a git remote for the head repo of a PR to be
      checked out, fetch the corresponding branch from that remote instead of
      fetching the special `refs/pull/XY/head` ref.
      
      This sets up a pull/push workflow for branches that the user might have
      write access to and wishes to collaborate on.
      
      Fixes #1238
      e1ef66ab
  10. 21 8月, 2016 2 次提交
  11. 19 8月, 2016 2 次提交
  12. 22 5月, 2015 1 次提交
  13. 26 2月, 2015 1 次提交
  14. 23 2月, 2015 1 次提交
    • M
      Avoid using "label" field when parsing PR response · 9ecd8404
      Mislav Marohnić 提交于
      To obtain the owner/fork-name combo, instead of reading it from "label"
      field from the PR response simply read from `Head.Ref` and
      `Head.Repo.Owner.Name` instead. This is because label is meant to be
      human-readable, isn't well-documented in GitHub API docs and is unclear
      when it contains two components (delimited by `:`) and when it contains
      only one.
      9ecd8404
  15. 21 1月, 2015 1 次提交
  16. 01 4月, 2014 1 次提交
  17. 22 12月, 2013 1 次提交
  18. 11 5月, 2013 1 次提交