HomeSoftware Heritage

Don't assume all GitClient instances have a 'dumb' attribute

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Don't assume all GitClient instances have a 'dumb' attribute

Only instances of (subclasses of) AbstractHttpGitClient have this attribute.

For other instances, we can consider it to be False, because the dumb
protocol only exists over HTTP(S).

This issue was found by mypy, thanks to the addition of type annotations
to changes in dulwich 0.20.36 affecting mypy's type inference.

Details

Provenance
vlorentzAuthored on May 16 2022, 2:41 PM
vlorentzPushed on May 16 2022, 3:23 PM
Differential Revision
D7835: Don't assume all GitClient instances have a 'dumb' attribute
Build Status
Buildable 29407
Build 45957: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.