1. 01 Jun, 2020 2 commits
  2. 23 May, 2020 1 commit
  3. 11 May, 2020 1 commit
    • Introduce GIT_ASSERT macros · abe2efe1
      Provide macros to replace usages of `assert`.  A true `assert` is
      punishing as a library.  Instead we should do our best to not crash.
      
      GIT_ASSERT_ARG(x) will now assert that the given argument complies to
      some format and sets an error message and returns `-1` if it does not.
      
      GIT_ASSERT(x) is for internal usage, and available as an internal
      consistency check.  It will set an error message and return `-1` in the
      event of failure.
      Edward Thomson committed
  4. 14 Apr, 2020 1 commit
  5. 28 Mar, 2020 1 commit
  6. 26 Mar, 2020 2 commits
  7. 08 Mar, 2020 1 commit
  8. 23 Feb, 2020 1 commit
  9. 19 Feb, 2020 1 commit
  10. 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
  11. 24 Jan, 2020 12 commits
  12. 15 Jan, 2020 1 commit
  13. 02 Jan, 2020 1 commit
  14. 13 Dec, 2019 1 commit
    • refs: rename git_reference__set_name to git_reference__realloc · 97b8491b
      As git_reference__name will reallocate storage to account for longer
      names (it's actually allocator-dependent), it will cause all existing
      pointers to the old object to become dangling, as they now point to
      freed memory.
      
      Fix the issue by renaming to a more descriptive name, and pass a pointer
      to the actual reference that can safely be invalidated if the realloc
      succeeds.
      Etienne Samson committed
  15. 07 Dec, 2019 1 commit
  16. 04 Dec, 2019 1 commit
  17. 29 Nov, 2019 1 commit
  18. 28 Nov, 2019 3 commits
  19. 22 Nov, 2019 4 commits
  20. 20 Nov, 2019 1 commit
  21. 19 Nov, 2019 1 commit
  22. 22 Oct, 2019 1 commit