1. 20 Jun, 2022 1 commit
  2. 15 Jun, 2022 2 commits
  3. 23 Feb, 2022 2 commits
  4. 14 Feb, 2022 1 commit
  5. 13 Feb, 2022 1 commit
  6. 28 Jan, 2022 1 commit
    • indexer: use a byte array for checksum · d2458af7
      The index's checksum is not an object ID, so we should not use the
      `git_oid` type.  Use a byte array for checksum calculation and storage.
      
      Deprecate the `git_indexer_hash` function.  Callers should use the new
      `git_indexer_name` function which provides a unique packfile name.
      Edward Thomson committed
  7. 05 Jan, 2022 1 commit
  8. 15 Nov, 2021 1 commit
  9. 14 Nov, 2021 1 commit
  10. 11 Nov, 2021 2 commits
  11. 18 Oct, 2021 1 commit
  12. 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
  13. 24 Sep, 2021 1 commit
  14. 28 Jul, 2021 1 commit
  15. 17 Mar, 2021 1 commit
  16. 15 Feb, 2021 1 commit
  17. 31 Jan, 2021 1 commit
  18. 08 Jun, 2020 1 commit
  19. 01 Jun, 2020 1 commit
  20. 02 Apr, 2020 1 commit
  21. 26 Jan, 2020 1 commit
    • credential: change git_cred to git_credential · 3f54ba8b
      We avoid abbreviations where possible; rename git_cred to
      git_credential.
      
      In addition, we have standardized on a trailing `_t` for enum types,
      instead of using "type" in the name.  So `git_credtype_t` has become
      `git_credential_t` and its members have become `GIT_CREDENTIAL` instead
      of `GIT_CREDTYPE`.
      
      Finally, the source and header files have been renamed to `credential`
      instead of `cred`.
      
      Keep previous name and values as deprecated, and include the new header
      files from the previous ones.
      Edward Thomson committed
  22. 22 Nov, 2019 1 commit
  23. 06 Nov, 2019 12 commits
  24. 25 Oct, 2019 1 commit
  25. 01 Aug, 2019 1 commit
    • Adjust printf specifiers in examples code · 73a186f2
      Static analysis of example code found multiple findings of `printf` usage
      where filling value is members of git_indexer_progress object. Specifier
      used was for signed int but git_indexer_progress members are typed as
      unsigned ints. `printf` specifiers were altered to match type.
      Scott Furry committed
  26. 24 Jul, 2019 1 commit