summaryrefslogtreecommitdiff
path: root/git/index
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2017-03-09 11:35:14 +0200
committerSebastian Thiel <byronimo@gmail.com>2017-03-09 11:03:29 +0100
commit8dffba51b4fd88f7d26a43cf6d1fbbe3cdb9f44d (patch)
tree09b460ad1445ca89c11206235665dfa2b3b4566c /git/index
parentc23ae3a48bb37ae7ebd6aacc8539fee090ca34bd (diff)
downloadgitpython-8dffba51b4fd88f7d26a43cf6d1fbbe3cdb9f44d.tar.gz
Spelling fixes
Diffstat (limited to 'git/index')
-rw-r--r--git/index/base.py4
-rw-r--r--git/index/typ.py2
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