diff options
Diffstat (limited to 'git/index')
| -rw-r--r-- | git/index/base.py | 4 | ||||
| -rw-r--r-- | git/index/typ.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/git/index/base.py b/git/index/base.py index 80862882..4fee2aae 100644 --- a/git/index/base.py +++ b/git/index/base.py @@ -433,7 +433,7 @@ class IndexFile(LazyMixin, diff.Diffable, Serializable): try: proc.stdin.write(("%s\n" % filepath).encode(defenc)) except IOError: - # pipe broke, usually because some error happend + # pipe broke, usually because some error happened raise fmakeexc() # END write exception handling proc.stdin.flush() @@ -846,7 +846,7 @@ class IndexFile(LazyMixin, diff.Diffable, Serializable): :param working_tree: If True, the entry will also be removed from the working tree, physically - removing the respective file. This may fail if there are uncommited changes + removing the respective file. This may fail if there are uncommitted changes in it. :param kwargs: diff --git a/git/index/typ.py b/git/index/typ.py index 70f56dd1..2a7dd799 100644 --- a/git/index/typ.py +++ b/git/index/typ.py @@ -51,7 +51,7 @@ class BlobFilter(object): class BaseIndexEntry(tuple): """Small Brother of an index entry which can be created to describe changes - done to the index in which case plenty of additional information is not requried. + done to the index in which case plenty of additional information is not required. As the first 4 data members match exactly to the IndexEntry type, methods expecting a BaseIndexEntry can also handle full IndexEntries even if they |
