1. 01 Jun, 2020 1 commit
  2. 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
  3. 24 Jun, 2019 1 commit
  4. 15 Jun, 2019 1 commit
  5. 16 Apr, 2019 1 commit
  6. 22 Jan, 2019 1 commit
  7. 15 Nov, 2018 1 commit
  8. 07 Nov, 2018 1 commit
    • smart transport: only clear url on hard reset · 9ad96367
      After creating a transport for a server, we expect to be able to call
      `connect`, then invoke subsequent `action` calls.  We provide the URL to
      these `action` calls, although our built-in transports happen to ignore
      it since they've already parsed it into an internal format that they
      intend to use (`gitno_connection_data`).
      
      In ca2eb460, we began clearing the URL
      field after a connection, meaning that subsequent calls to transport
      `action` callbacks would get a NULL URL, which went undetected since the
      builtin transports ignore the URL when they're already connected
      (instead of re-parsing it into an internal format).
      
      Downstream custom transport implementations (eg, LibGit2Sharp) did
      notice this change, however.
      
      Since `reset_stream` is called even when we're not closing the
      subtransport, update to only clear the URL when we're closing the
      subtransport.  This ensures that `action` calls will get the correct URL
      information even after a connection.
      Edward Thomson committed
  9. 20 Jul, 2018 1 commit
  10. 13 Jul, 2018 1 commit
    • treewide: remove use of C++ style comments · 9994cd3f
      C++ style comment ("//") are not specified by the ISO C90 standard and
      thus do not conform to it. While libgit2 aims to conform to C90, we did
      not enforce it until now, which is why quite a lot of these
      non-conforming comments have snuck into our codebase. Do a tree-wide
      conversion of all C++ style comments to the supported C style comments
      to allow us enforcing strict C90 compliance in a later commit.
      Patrick Steinhardt committed
  11. 06 Jul, 2018 2 commits
  12. 29 Jun, 2018 1 commit
  13. 25 Jun, 2018 2 commits
  14. 24 Jun, 2018 1 commit
  15. 10 Jun, 2018 1 commit
  16. 03 Jul, 2017 1 commit
    • Make sure to always include "common.h" first · 0c7f49dd
      Next to including several files, our "common.h" header also declares
      various macros which are then used throughout the project. As such, we
      have to make sure to always include this file first in all
      implementation files. Otherwise, we might encounter problems or even
      silent behavioural differences due to macros or defines not being
      defined as they should be. So in fact, our header and implementation
      files should make sure to always include "common.h" first.
      
      This commit does so by establishing a common include pattern. Header
      files inside of "src" will now always include "common.h" as its first
      other file, separated by a newline from all the other includes to make
      it stand out as special. There are two cases for the implementation
      files. If they do have a matching header file, they will always include
      this one first, leading to "common.h" being transitively included as
      first file. If they do not have a matching header file, they instead
      include "common.h" as first file themselves.
      
      This fixes the outlined problems and will become our standard practice
      for header and source files inside of the "src/" from now on.
      Patrick Steinhardt committed
  17. 17 Apr, 2017 1 commit
  18. 29 Dec, 2016 1 commit
  19. 21 Apr, 2016 1 commit
  20. 19 Apr, 2016 2 commits
  21. 25 Sep, 2015 1 commit
  22. 24 Sep, 2015 4 commits
  23. 10 Sep, 2015 3 commits
  24. 08 Sep, 2015 1 commit
  25. 19 Aug, 2015 1 commit
  26. 18 Mar, 2015 1 commit
  27. 13 Feb, 2015 1 commit
  28. 10 Dec, 2014 1 commit
  29. 16 Sep, 2014 1 commit
  30. 22 May, 2014 1 commit
  31. 21 May, 2014 2 commits