diff --git a/dulwich/client.py b/dulwich/client.py index 990f0774c..c89fcb2af 100644 --- a/dulwich/client.py +++ b/dulwich/client.py @@ -1403,7 +1403,7 @@ def _connect(self, service, path): class LocalGitClient(GitClient): - """Git Client that just uses a local Repo.""" + """Git Client that just uses a local on-disk repository.""" def __init__( self, thin_packs=True, report_activity=None, config: Optional[Config] = None @@ -1432,7 +1432,7 @@ def _open_repo(cls, path): return closing(Repo(path)) def send_pack(self, path, update_refs, generate_pack_data, progress=None): - """Upload a pack to a remote repository. + """Upload a pack to a local on-disk repository. Args: path: Repository path (as bytestring) @@ -1525,7 +1525,7 @@ def fetch_pack( progress=None, depth=None, ) -> FetchPackResult: - """Retrieve a pack from a git smart server. + """Retrieve a pack from a local on-disk repository. Args: path: Remote path to fetch from @@ -1560,7 +1560,7 @@ def fetch_pack( return FetchPackResult(r.get_refs(), symrefs, agent) def get_refs(self, path): - """Retrieve the current refs from a git smart server.""" + """Retrieve the current refs from a local on-disk repository.""" with self._open_repo(path) as target: return target.get_refs()