Commit Briefs
Release 0.21.6. (tags/dulwich-0.21.6)
Merge pull request #1202 from nanonyme/nanonyme-patch-1
Raise GitProtocolError on unexpected pkt
Raise GitProtocolError on unexpected pkt
There are some packets (like NAK) which have no sha. This does not change them to be handled but you get in exception always the command that failed to be unpacked instead of strange exception about there not being enough values to unpack.
Merge pull request #1200 from jelmer/http-error
Raise GitProtocolError when encountering HTTP Errors in HTTPGitClient
Merge pull request #1196 from jelmer/index-refactor
More refactoring of index
Merge pull request #1195 from jelmer/enum-stage
Define enum for stage values
Merge pull request #1194 from pmrowla/win-git-bash
config: check both `git/etc` and `git/mingw64/etc` on windows
Split out a separate ConflictedIndexEntry class
This should make the changes transparent to existing API users (so long as they don't work in trees with conflicts). It also prevents repeated dictionary access.
Merge pull request #1192 from anlambert/http-client-fix-content-type-check
client: Fix content type check in AbstractHttpGitClient._smart_request
Merge pull request #1167 from jelmer/fix-iterobjects-subset
FIx iterobjects_subset
client: Fix content type check in AbstractHttpGitClient._smart_request
Some git servers can send a Content-Type header containing a charset directive. Official git client can successfully clone repositories hosted on such server but dulwich was raising a GitProtocolError as the code to check the header value was not expecting a directive to be present in it.
Merge pull request #1187 from jelmer/readthedocs
Add the readthedocs configuration
Merge pull request #1165 from jelmer/handle-missing
Handle missing object in iterobjects_subset