summaryrefslogtreecommitdiff
path: root/lib/git/head.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/git/head.py')
-rw-r--r--lib/git/head.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/git/head.py b/lib/git/head.py
index 9a5d2fd4..96d35010 100644
--- a/lib/git/head.py
+++ b/lib/git/head.py
@@ -105,7 +105,7 @@ class Head(object):
"""
full_name, ids = line.split("\x00")
name = full_name.split("/")[-1]
- c = commit.Commit(repo, **{'id': ids})
+ c = commit.Commit(repo, id=ids)
return Head(name, c)
def __repr__(self):