summaryrefslogtreecommitdiff
path: root/repo/base.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2010-11-24 21:33:36 +0100
committerSebastian Thiel <byronimo@gmail.com>2010-11-24 21:33:36 +0100
commit968ffb2c2e5c6066a2b01ad2a0833c2800880d46 (patch)
treea5f0b7417f39364d83409edf4d382c6a8c36ff49 /repo/base.py
parent3175b5b21194bcc8f4448abe0a03a98d3a4a1360 (diff)
downloadgitpython-968ffb2c2e5c6066a2b01ad2a0833c2800880d46.tar.gz
Adjusted all Head.create calls to set a logmessage similar to the one git uses
Diffstat (limited to 'repo/base.py')
-rw-r--r--repo/base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/repo/base.py b/repo/base.py
index c8613878..e26da101 100644
--- a/repo/base.py
+++ b/repo/base.py
@@ -274,12 +274,12 @@ class Repo(object):
:param path: path to the tag reference, i.e. 0.1.5 or tags/0.1.5 """
return TagReference(self, path)
- def create_head(self, path, commit='HEAD', force=False, **kwargs ):
+ def create_head(self, path, commit='HEAD', force=False, logmsg=None ):
"""Create a new head within the repository.
For more documentation, please see the Head.create method.
:return: newly created Head Reference"""
- return Head.create(self, path, commit, force, **kwargs)
+ return Head.create(self, path, commit, force, logmsg)
def delete_head(self, *heads, **kwargs):
"""Delete the given heads