chiark / gitweb /
Implement a 'pick' command for cherry-picking
[stgit] / stgit / git.py
index a45671b2f1d9e0c9ec7e823eb99d9d2f6328beb3..0fee709d2998e8bbeb2f45fd2a9372821209f2bd 100644 (file)
@@ -59,7 +59,7 @@ class Commit:
                 self.__author = field[1]
             if field[0] == 'committer':
                 self.__committer = field[1]
-        self.__log = ''.join(lines[i:])
+        self.__log = ''.join(lines[i+1:])
 
     def get_id_hash(self):
         return self.__id_hash