1. 17 Sep, 2013 1 commit
    • No such thing as an orphan branch · 605da51a
      Unfortunately git-core uses the term "unborn branch" and "orphan
      branch" interchangeably. However, "orphan" is only really there for
      the checkout command, which has the `--orphan` option so it doesn't
      actually create the branch.
      
      Branches never have parents, so the distinction of a branch with no
      parents is odd to begin with. Crucially, the error messages deal with
      unborn branches, so let's use that.
      Carlos Martín Nieto committed
  2. 17 Jun, 2013 2 commits
  3. 30 May, 2013 1 commit
  4. 28 May, 2013 1 commit
  5. 11 May, 2013 2 commits
  6. 06 May, 2013 1 commit
    • git_branch_set_upstream with local branches · 3d42e9a3
      Currently git_branch_set_upstream when passed a local branch
      creates invalid configuration, for ex. if we setup branch
      'tracking_master' to track local 'master' libgit2 generates
      the following config
      
      ```
      [branch "track_master"]
        remote = .
        merge = .refs/heads/track_master
      ```
      
      The merge value is invalid and calling git_branch_upstream on
      'tracking_master' results in invalid reference error.
      
      It should do:
      
      ```
      [branch "track_master"]
        remote = .
        merge = refs/heads/master
      ```
      Nikolai Vladimirov committed
  7. 01 May, 2013 1 commit
  8. 20 Apr, 2013 1 commit
    • remote: handle multiple refspecs · 4330ab26
      A remote can have a multitude of refspecs. Up to now our git_remote's
      have supported a single one for each fetch and push out of simplicity
      to get something working.
      
      Let the remotes and internal code know about multiple remotes and get
      the tests passing with them.
      
      Instead of setting a refspec, the external users can clear all and add
      refspecs. This should be enough for most uses, though we're still
      missing a querying function.
      Carlos Martín Nieto committed
  9. 18 Apr, 2013 1 commit
  10. 11 Apr, 2013 1 commit
  11. 31 Mar, 2013 1 commit
  12. 30 Mar, 2013 1 commit
  13. 17 Mar, 2013 1 commit
  14. 07 Mar, 2013 1 commit
  15. 22 Feb, 2013 1 commit
  16. 11 Feb, 2013 1 commit
  17. 05 Feb, 2013 1 commit
  18. 25 Jan, 2013 1 commit
    • Added git_branch_name(). · c253056d
      This is a convenience function to get the branch name of a given
      ref. The returned branch name is compatible with the name that can
      be supplied e.g. to git_branch_lookup(). That is, the prefixes
      "refs/heads" or "refs/remotes" are omitted.
      
      Also added a new test for testing the new function.
      Sebastian Bauer committed
  19. 16 Jan, 2013 2 commits
  20. 08 Jan, 2013 1 commit
  21. 28 Nov, 2012 1 commit
  22. 27 Nov, 2012 2 commits
  23. 11 Nov, 2012 2 commits
  24. 25 Oct, 2012 3 commits
  25. 19 Oct, 2012 2 commits
  26. 11 Oct, 2012 1 commit
  27. 07 Oct, 2012 2 commits
  28. 13 Sep, 2012 1 commit
  29. 27 Aug, 2012 2 commits
  30. 27 Jul, 2012 1 commit