Skip to content

Commit 343ea77

Browse files
Jah-yeeclaude
andcommitted
fix(docs): correct duplicated words in submodule and util docstrings
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ad0420e commit 343ea77

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎git/objects/submodule/root.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ def update( # type: ignore[override]
352352
# change easily.
353353
_logger.warning(
354354
"Current sha %s was not contained in the tracking\
355-
branch at the new remote, setting it the the remote's tracking branch",
355+
branch at the new remote, setting it to the remote's tracking branch",
356356
sm.hexsha,
357357
)
358358
sm.binsha = rref.commit.binsha

‎git/util.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1392,7 +1392,7 @@ def iter_items(cls, repo: "Repo", *args: Any, **kwargs: Any) -> Iterator[T_Itera
13921392
13931393
Subclasses can specify `args` and `kwargs` differently, and may use them for
13941394
filtering. However, when the method is called with no additional positional or
1395-
keyword arguments, subclasses are obliged to to yield all items.
1395+
keyword arguments, subclasses are obliged to yield all items.
13961396
13971397
:return:
13981398
Iterator yielding Items

0 commit comments

Comments
 (0)