4040log = logging .getLogger (__name__ )
4141
4242DefaultDBType = GitCmdObjectDB
43- if sys .version_info [:2 ]< (2 ,5 ):# python 2.4compatiblity
43+ if sys .version_info [:2 ]< (2 ,5 ):# python 2.4compatibility
4444DefaultDBType = GitCmdObjectDB
4545# END handle python 2.4
4646
@@ -418,7 +418,7 @@ def config_writer(self, config_level="repository"):
418418
419419 :param config_level:
420420 One of the following values
421- system =sytem wide configuration file
421+ system =system wide configuration file
422422 global = user level configuration file
423423 repository = configuration file for this repostory only"""
424424return GitConfigParser (self ._get_config_path (config_level ),read_only = False )
@@ -564,7 +564,7 @@ def _set_alternates(self, alts):
564564
565565 :raise NoSuchPathError:
566566 :note:
567- The method does not check for theexistance of the paths in alts
567+ The method does not check for theexistence of the paths in alts
568568 as the caller is responsible."""
569569alternates_path = osp .join (self .git_dir ,'objects' ,'info' ,'alternates' )
570570if not alts :
@@ -629,7 +629,7 @@ def untracked_files(self):
629629return self ._get_untracked_files ()
630630
631631def _get_untracked_files (self ,* args ,** kwargs ):
632- # make sure we get all files,no only untrackeddirectores
632+ # make sure we get all files,not only untrackeddirectories
633633proc = self .git .status (* args ,
634634porcelain = True ,
635635untracked_files = True ,
@@ -681,7 +681,7 @@ def blame_incremental(self, rev, file, **kwargs):
681681
682682stream = (line for line in data .split (b'\n ' )if line )
683683while True :
684- line = next (stream )# when exhausted,casues a StopIteration, terminating this function
684+ line = next (stream )# when exhausted,causes a StopIteration, terminating this function
685685hexsha ,orig_lineno ,lineno ,num_lines = line .split ()
686686lineno = int (lineno )
687687num_lines = int (num_lines )
@@ -952,7 +952,7 @@ def archive(self, ostream, treeish=None, prefix=None, **kwargs):
952952 * Use the 'format' argument to define the kind of format. Use
953953 specialized ostreams to write any format supported by python.
954954 * You may specify the special **path** keyword, which may either be a repository-relative
955- path to a directory or file to place into the archive, or a list or tuple ofmultipe paths.
955+ path to a directory or file to place into the archive, or a list or tuple ofmultiple paths.
956956
957957 :raise GitCommandError: in case something went wrong
958958 :return: self"""
@@ -972,7 +972,7 @@ def archive(self, ostream, treeish=None, prefix=None, **kwargs):
972972def has_separate_working_tree (self ):
973973"""
974974 :return: True if our git_dir is not at the root of our working_tree_dir, but a .git file with a
975- platform agnositic symbolic link. Our git_dir will bewhereever the .git file points to
975+ platform agnositic symbolic link. Our git_dir will bewherever the .git file points to
976976 :note: bare repositories will always return False here
977977 """
978978if self .bare :