summaryrefslogtreecommitdiff
path: root/git/refs/head.py
diff options
context:
space:
mode:
authorKostis Anagnostopoulos <ankostis@gmail.com>2016-10-22 12:47:45 +0200
committerKostis Anagnostopoulos <ankostis@gmail.com>2016-10-22 12:47:45 +0200
commita25365fea0ea3b92ba96cc281facd308311def1e (patch)
tree5653a9923aebfc8b53407f8d1ef0d9d6497da081 /git/refs/head.py
parent76ac61a2b4bb10c8434a7d6fc798b115b4b7934d (diff)
parentcaa0ea7a0893fe90ea043843d4e6ad407126d7b8 (diff)
downloadgitpython-a25365fea0ea3b92ba96cc281facd308311def1e.tar.gz
Merge remote-tracking branch 'origin/master' into exp_git_dir
Diffstat (limited to 'git/refs/head.py')
-rw-r--r--git/refs/head.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/git/refs/head.py b/git/refs/head.py
index a1d8ab46..9a9a8596 100644
--- a/git/refs/head.py
+++ b/git/refs/head.py
@@ -216,8 +216,7 @@ class Head(Reference):
else:
return self.repo.active_branch
- #{ Configruation
-
+ #{ Configuration
def _config_parser(self, read_only):
if read_only:
parser = self.repo.config_reader()
@@ -235,7 +234,7 @@ class Head(Reference):
def config_writer(self):
"""
- :return: A configuration writer instance with read-and write acccess
+ :return: A configuration writer instance with read-and write access
to options of this head"""
return self._config_parser(read_only=False)