1. 20 Oct, 2022 1 commit
    • http: Update httpclient options when reusing an existing connection. · f8683b7a
      Httpclient internally stores a copy of the certificate_check callback and
      payload. When connecting via HTTPS, and if the server sends back
      "Connection: close" after the first request, the following request would
      attempt to re-use the httpclient and call the (now outdated) callback. In
      particular for pygit2 this is a problem, since callbacks / payloads are only
      valid for the duration of a libgit2 call, leading to a ffi.from_handle()
      error and crashing the Python interpreter.
      Sebastian Lackner committed
  2. 18 Oct, 2022 1 commit
  3. 21 Sep, 2022 1 commit
  4. 19 Sep, 2022 14 commits
  5. 16 Sep, 2022 3 commits
  6. 06 Sep, 2022 1 commit
  7. 31 Aug, 2022 1 commit
  8. 14 Aug, 2022 1 commit
  9. 10 Aug, 2022 1 commit
  10. 08 Aug, 2022 1 commit
  11. 30 Jul, 2022 1 commit
    • Don't fail the whole clone if you can't find a default branch · bf80cb63
      In commit 6bb35878 ("clone: set refs/remotes/origin/HEAD to default
      branch when branch is specified, attempt 2") libgit2 was changed to set
      the default remote branch when one was copied.
      
      But it makes update_head_to_branch() return an error if the origin
      doesn't even *have* a HEAD in the first place, since
      git_remote_default_branch() will fail.
      
      That's entirely wrong, and means that you cannot do "git_clone()" of a
      particular branch on a remote repository when that remote doesn't have a
      default branch at all.
      
      So don't set the error code.
      
      Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
      Linus Torvalds committed
  12. 22 Jul, 2022 2 commits
  13. 19 Jul, 2022 1 commit
  14. 15 Jul, 2022 1 commit
  15. 14 Jul, 2022 8 commits
  16. 13 Jul, 2022 2 commits