Change spelling from "commit'ish" to "commit-ish" · gitpython-developers/GitPython@9fea488 · GitHub
Skip to content

Commit 9fea488

Browse files
committed
Change spelling from "commit'ish" to "commit-ish"
Since the hyphen spelling is what the official Git docs use. This change affects only docstrings.
1 parent f95d4fd commit 9fea488

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

git/index/base.py

Lines changed: 1 addition & 1 deletion

git/objects/submodule/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1095,7 +1095,7 @@ def set_parent_commit(self, commit: Union[Commit_ish, None], check: bool = True)
10951095
contain the .gitmodules blob.
10961096
10971097
:param commit:
1098-
Commit'ish reference pointing at the root_tree, or None to always point to the
1098+
Commit-ish reference pointing at the root_tree, or None to always point to the
10991099
most recent commit
11001100
:param check:
11011101
if True, relatively expensive checks will be performed to verify

git/objects/submodule/root.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def update(
9191
Additionally it will detect addition and removal of submodules, which will be handled
9292
gracefully.
9393
94-
:param previous_commit: If set to a commit'ish, the commit we should use
94+
:param previous_commit: If set to a commit-ish, the commit we should use
9595
as the previous commit the HEAD pointed to before it was set to the commit it points to now.
9696
If None, it defaults to HEAD@{1} otherwise
9797
:param recursive: if True, the children of submodules will be updated as well

git/refs/symbolic.py

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)