diff options
Diffstat (limited to 'git/objects')
| -rw-r--r-- | git/objects/base.py | 2 | ||||
| -rw-r--r-- | git/objects/commit.py | 2 | ||||
| -rw-r--r-- | git/objects/submodule/base.py | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/git/objects/base.py b/git/objects/base.py index 4f078e38..cccb5ec6 100644 --- a/git/objects/base.py +++ b/git/objects/base.py @@ -152,7 +152,7 @@ class IndexObject(Object): def __hash__(self): """ :return: - Hash of our path as index items are uniquely identifyable by path, not + Hash of our path as index items are uniquely identifiable by path, not by their data !""" return hash(self.path) diff --git a/git/objects/commit.py b/git/objects/commit.py index 042379a8..f29fbaa2 100644 --- a/git/objects/commit.py +++ b/git/objects/commit.py @@ -168,7 +168,7 @@ class Commit(base.Object, Iterable, Diffable, Traversable, Serializable): :param kwargs: Additional options to be passed to git-rev-list. They must not alter - the ouput style of the command, or parsing will yield incorrect results + the output style of the command, or parsing will yield incorrect results :return: int defining the number of reachable commits""" # yes, it makes a difference whether empty paths are given or not in our case # as the empty paths version will ignore merge commits for some reason. diff --git a/git/objects/submodule/base.py b/git/objects/submodule/base.py index 55e2ea27..e3912d88 100644 --- a/git/objects/submodule/base.py +++ b/git/objects/submodule/base.py @@ -92,7 +92,7 @@ class Submodule(IndexObject, Iterable, Traversable): k_head_default = 'master' k_default_mode = stat.S_IFDIR | stat.S_IFLNK # submodules are directories with link-status - # this is a bogus type for base class compatability + # this is a bogus type for base class compatibility type = 'submodule' __slots__ = ('_parent_commit', '_url', '_branch_path', '_name', '__weakref__') @@ -423,7 +423,7 @@ class Submodule(IndexObject, Iterable, Traversable): writer.set_value(cls.k_head_option, br.path) sm._branch_path = br.path - # we deliberatly assume that our head matches our index ! + # we deliberately assume that our head matches our index ! sm.binsha = mrepo.head.commit.binsha index.add([sm], write=True) @@ -551,7 +551,7 @@ class Submodule(IndexObject, Iterable, Traversable): with self.repo.config_writer() as writer: writer.set_value(sm_section(self.name), 'url', self.url) # END handle dry_run - # END handle initalization + # END handle initialization # DETERMINE SHAS TO CHECKOUT ############################ |
