Use phrases like "git object type" where applicable · gitpython-developers/GitPython@1530fd2 · GitHub
Skip to content

Commit 1530fd2

Browse files
committed
Use phrases like "git object type" where applicable
In some recently introduced or expanded docstrings, I had overused phrases like "kind of git object" with the hope of avoiding confusion with the meanings of "type" relevant to Python (i.e., "class" or "static type"). But this made the relationship to git's own notion of "object type" less clear than it could be, especially in docstrings that also included links to the gitglossary(7) entry for "object type" (because those links' relevance was less clear). This dials back the use of "kind" to where I am more confident that it is clarifying or at least not confusing.
1 parent 7166703 commit 1530fd2

2 files changed

Lines changed: 11 additions & 10 deletions

File tree

git/objects/base.py

Lines changed: 7 additions & 6 deletions

git/types.py

Lines changed: 4 additions & 4 deletions

0 commit comments

Comments
 (0)