summaryrefslogtreecommitdiff
path: root/git/repo
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/repo
parentc23ae3a48bb37ae7ebd6aacc8539fee090ca34bd (diff)
downloadgitpython-8dffba51b4fd88f7d26a43cf6d1fbbe3cdb9f44d.tar.gz
Spelling fixes
Diffstat (limited to 'git/repo')
-rw-r--r--git/repo/base.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/git/repo/base.py b/git/repo/base.py
index 7820fd66..b5e2e08d 100644
--- a/git/repo/base.py
+++ b/git/repo/base.py
@@ -40,7 +40,7 @@ import gitdb
log = logging.getLogger(__name__)
DefaultDBType = GitCmdObjectDB
-if sys.version_info[:2] < (2, 5): # python 2.4 compatiblity
+if sys.version_info[:2] < (2, 5): # python 2.4 compatibility
DefaultDBType = GitCmdObjectDB
# END handle python 2.4
@@ -418,7 +418,7 @@ class Repo(object):
:param config_level:
One of the following values
- system = sytem wide configuration file
+ system = system wide configuration file
global = user level configuration file
repository = configuration file for this repostory only"""
return GitConfigParser(self._get_config_path(config_level), read_only=False)
@@ -564,7 +564,7 @@ class Repo(object):
:raise NoSuchPathError:
:note:
- The method does not check for the existance of the paths in alts
+ The method does not check for the existence of the paths in alts
as the caller is responsible."""
alternates_path = osp.join(self.git_dir, 'objects', 'info', 'alternates')
if not alts:
@@ -629,7 +629,7 @@ class Repo(object):
return self._get_untracked_files()
def _get_untracked_files(self, *args, **kwargs):
- # make sure we get all files, no only untracked directores
+ # make sure we get all files, not only untracked directories
proc = self.git.status(*args,
porcelain=True,
untracked_files=True,
@@ -681,7 +681,7 @@ class Repo(object):
stream = (line for line in data.split(b'\n') if line)
while True:
- line = next(stream) # when exhausted, casues a StopIteration, terminating this function
+ line = next(stream) # when exhausted, causes a StopIteration, terminating this function
hexsha, orig_lineno, lineno, num_lines = line.split()
lineno = int(lineno)
num_lines = int(num_lines)
@@ -952,7 +952,7 @@ class Repo(object):
* Use the 'format' argument to define the kind of format. Use
specialized ostreams to write any format supported by python.
* You may specify the special **path** keyword, which may either be a repository-relative
- path to a directory or file to place into the archive, or a list or tuple of multipe paths.
+ path to a directory or file to place into the archive, or a list or tuple of multiple paths.
:raise GitCommandError: in case something went wrong
:return: self"""
@@ -972,7 +972,7 @@ class Repo(object):
def has_separate_working_tree(self):
"""
:return: True if our git_dir is not at the root of our working_tree_dir, but a .git file with a
- platform agnositic symbolic link. Our git_dir will be whereever the .git file points to
+ platform agnositic symbolic link. Our git_dir will be wherever the .git file points to
:note: bare repositories will always return False here
"""
if self.bare: