dulwich:init-branch

Last commit made on 2023-03-20
Get this branch:
git clone -b init-branch https://git.launchpad.net/dulwich

Branch merges

Branch information

Name:
init-branch
Repository:
lp:dulwich

Recent commits

4294acb... by Jelmer Vernooij

Support init.defaultBranch config option

dcec873... by Jelmer Vernooij

Add more typing

1ad7903... by =?utf-8?q?Jelmer_Vernoo=C4=B3?= <email address hidden>

Merge pull request #1161 from jelmer/git-protocol-error

Make sure GitProtocolError's first argument is a string

bc28ebf... by Jelmer Vernooij

Make sure GitProtocolError's first argument is a string

d87326a... by =?utf-8?q?Jelmer_Vernoo=C4=B3?= <email address hidden>

Merge pull request #1160 from jelmer/memory-repo-fetch-fix

Fix fetching into MemoryRepo

e83796c... by Jelmer Vernooij

Fix fetching into MemoryRepo

Fixes #1157

dcdafdf... by =?utf-8?q?Jelmer_Vernoo=C4=B3?= <email address hidden>

Merge pull request #1159 from jelmer/git-file-close-warn

Warn when _GitFile is not closed

961a011... by Jelmer Vernooij

Merge pull request #1158 from anlambert/http-client-redirect-handle-absolute-path-reference-uri

client: Handle absolute path as redirect location in HTTP client

7fd6431... by Antoine Lambert <email address hidden>

client: Handle absolute path as redirect location in HTTP client

Some git servers can redirect a repository URL using an absolute-path URI reference
as value of the Location HTTP header as allowed by RFC 7231 Section 7.1.2.

That edge case was causing dulwich to raise urllib3.exceptions.LocationValueError
when attempting to clone such repository as the redirection URL was missing the
scheme and the net location.

Fix the issue by restoring scheme and net location to the redirection URL using
those from the original request URL.

285836e... by Jelmer Vernooij

Warn when _GitFile is not closed