Browse Source

Missing newline

John Carr 16 years ago
parent
commit
5fe5997165
1 changed files with 1 additions and 0 deletions
  1. 1 0
      dulwich/objects.py

+ 1 - 0
dulwich/objects.py

@@ -370,6 +370,7 @@ class Commit(ShaFile):
       self._text += "%s %s\n" % (PARENT_ID, p)
     self._text += "%s %s %s +0000\n" % (AUTHOR_ID, self._author, str(self._commit_time))
     self._text += "%s %s %s +0000\n" % (COMMITTER_ID, self._committer, str(self._commit_time))
+    self._text += "\n" # There must be a new line after the headers
     self._text += self._message
 
   @property