diff options
author | luz paz <luzpaz@pm.me> | 2022-05-07 15:59:10 -0400 |
---|---|---|
committer | luz paz <luzpaz@pm.me> | 2022-05-07 15:59:10 -0400 |
commit | dde3a8bd9229ff25ec8bc03c35d937f43233f48e (patch) | |
tree | e4db57c467db566901d53881012f1ccfe3ca9d4a /git/refs | |
parent | b3166ece31bfb29e89f6ed4bb9214bf1c03791df (diff) | |
download | gitpython-dde3a8bd9229ff25ec8bc03c35d937f43233f48e.tar.gz |
Fix various typos
Found via `codespell -q 3 -S ./git/ext/gitdb,./test/fixtures/reflog_master,./test/fixtures/diff_mode_only,./test/fixtures/reflog_HEAD`
Diffstat (limited to 'git/refs')
-rw-r--r-- | git/refs/symbolic.py | 2 | ||||
-rw-r--r-- | git/refs/tag.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/git/refs/symbolic.py b/git/refs/symbolic.py index 1c550673..8d869173 100644 --- a/git/refs/symbolic.py +++ b/git/refs/symbolic.py @@ -298,7 +298,7 @@ class SymbolicReference(object): logmsg: Union[str, None] = None) -> 'SymbolicReference': """Set ourselves to the given ref. It will stay a symbol if the ref is a Reference. Otherwise an Object, given as Object instance or refspec, is assumed and if valid, - will be set which effectively detaches the refererence if it was a purely + will be set which effectively detaches the reference if it was a purely symbolic one. :param ref: SymbolicReference instance, Object instance or refspec string diff --git a/git/refs/tag.py b/git/refs/tag.py index edfab33d..8cc79edd 100644 --- a/git/refs/tag.py +++ b/git/refs/tag.py @@ -36,7 +36,7 @@ class TagReference(Reference): _common_path_default = Reference._common_path_default + "/" + _common_default @property - def commit(self) -> 'Commit': # type: ignore[override] # LazyMixin has unrelated comit method + def commit(self) -> 'Commit': # type: ignore[override] # LazyMixin has unrelated commit method """:return: Commit object the tag ref points to :raise ValueError: if the tag points to a tree or blob""" @@ -91,7 +91,7 @@ class TagReference(Reference): :param message: Synonym for :param logmsg: - Included for backwards compatability. :param logmsg is used in preference if both given. + Included for backwards compatibility. :param logmsg is used in preference if both given. :param force: If True, to force creation of a tag even though that tag already exists. |