summaryrefslogtreecommitdiff
path: root/git/refs/head.py
diff options
context:
space:
mode:
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)