1. 21 Jun, 2017 1 commit
  2. 05 May, 2017 3 commits
  3. 25 Apr, 2017 1 commit
  4. 09 Jan, 2017 2 commits
  5. 06 Jan, 2017 1 commit
  6. 27 Oct, 2016 1 commit
  7. 04 Aug, 2016 1 commit
    • refspec: do not set empty rhs for fetch refspecs · 1eee631d
      According to git-fetch(1), "[t]he colon can be omitted when <dst>
      is empty." So according to git, the refspec "refs/heads/master"
      is the same as the refspec "refs/heads/master:" when fetching
      changes. When trying to fetch from a remote with a trailing
      colon with libgit2, though, the fetch actually fails while it
      works when the trailing colon is left out. So obviously, libgit2
      does _not_ treat these two refspec formats the same for fetches.
      
      The problem results from parsing refspecs, where the resulting
      refspec has its destination set to an empty string in the case of
      a trailing colon and to a `NULL` pointer in the case of no
      trailing colon. When passing this to our DWIM machinery, the
      empty string gets translated to "refs/heads/", which is simply
      wrong.
      
      Fix the problem by having the parsing machinery treat both cases
      the same for fetch refspecs.
      Patrick Steinhardt committed
  8. 21 Apr, 2016 1 commit
  9. 19 Apr, 2016 3 commits
  10. 14 Mar, 2016 2 commits
  11. 02 Nov, 2015 1 commit
  12. 27 Sep, 2015 1 commit
  13. 18 Sep, 2015 1 commit
  14. 13 Sep, 2015 1 commit
  15. 10 Sep, 2015 1 commit
  16. 08 Sep, 2015 1 commit
  17. 02 Jul, 2015 1 commit
  18. 12 Jun, 2015 2 commits
  19. 27 May, 2015 1 commit
  20. 17 May, 2015 1 commit
    • clone: don't rely on auto-saving for single-branch · 7b5ce2e5
      The code used to rely on the clone code calling the remote's save, which
      does not happen anymore, meaning that the configuration settings the
      remote expected were not being written to disk.
      
      The run-time configuration was still being affected, so the right branch
      was being cloned. The tests continued to pass as we did not check for
      the configuration entires. Fix this by creating the remote with the
      single-branch refspec we want and checking for its existence in the
      configuration.
      Carlos Martín Nieto committed
  21. 13 May, 2015 5 commits
  22. 22 Apr, 2015 1 commit
  23. 18 Apr, 2015 1 commit
  24. 16 Mar, 2015 1 commit
  25. 13 Mar, 2015 1 commit
  26. 03 Mar, 2015 2 commits
  27. 27 Feb, 2015 1 commit
  28. 30 Dec, 2014 1 commit