1. 23 Feb, 2022 1 commit
  2. 31 Jan, 2022 1 commit
  3. 09 Nov, 2021 1 commit
  4. 21 Oct, 2021 2 commits
  5. 17 Oct, 2021 1 commit
    • str: introduce `git_str` for internal, `git_buf` is external · f0e693b1
      libgit2 has two distinct requirements that were previously solved by
      `git_buf`.  We require:
      
      1. A general purpose string class that provides a number of utility APIs
         for manipulating data (eg, concatenating, truncating, etc).
      2. A structure that we can use to return strings to callers that they
         can take ownership of.
      
      By using a single class (`git_buf`) for both of these purposes, we have
      confused the API to the point that refactorings are difficult and
      reasoning about correctness is also difficult.
      
      Move the utility class `git_buf` to be called `git_str`: this represents
      its general purpose, as an internal string buffer class.  The name also
      is an homage to Junio Hamano ("gitstr").
      
      The public API remains `git_buf`, and has a much smaller footprint.  It
      is generally only used as an "out" param with strict requirements that
      follow the documentation.  (Exceptions exist for some legacy APIs to
      avoid breaking callers unnecessarily.)
      
      Utility functions exist to convert a user-specified `git_buf` to a
      `git_str` so that we can call internal functions, then converting it
      back again.
      Edward Thomson committed
  6. 31 Jan, 2021 1 commit
  7. 10 Jun, 2018 1 commit
  8. 05 May, 2017 1 commit
  9. 26 Jun, 2015 1 commit
  10. 03 Mar, 2015 2 commits
  11. 22 Nov, 2014 1 commit
    • peel: reject bad queries with EINVALIDSPEC · 753e17b0
      There are some combination of objects and target types which we know
      cannot be fulfilled. Return EINVALIDSPEC for those to signify that there
      is a mismatch in the user-provided data and what the object model is
      capable of satisfying.
      
      If we start at a tag and in the course of peeling find out that we
      cannot reach a particular type, we return EPEEL.
      Carlos Martín Nieto committed
  12. 30 Jan, 2014 2 commits
  13. 15 Jan, 2014 1 commit
  14. 14 Nov, 2013 1 commit
  15. 10 Sep, 2013 1 commit
  16. 13 Jul, 2013 1 commit
  17. 16 May, 2013 2 commits
  18. 15 May, 2013 1 commit
  19. 15 Apr, 2013 4 commits
  20. 09 Apr, 2013 1 commit
  21. 08 Apr, 2013 1 commit
  22. 07 Apr, 2013 2 commits
  23. 07 Mar, 2013 1 commit
  24. 03 Feb, 2013 2 commits
  25. 01 Dec, 2012 2 commits
  26. 27 Nov, 2012 1 commit
  27. 18 Oct, 2012 1 commit
  28. 25 Aug, 2012 1 commit
  29. 23 Jul, 2012 1 commit
  30. 15 Jul, 2012 1 commit