diff --git a/src/commit.coffee b/src/commit.coffee index 35c4ac6..b85100f 100644 --- a/src/commit.coffee +++ b/src/commit.coffee @@ -63,6 +63,7 @@ module.exports = class Commit lines = text.split "\n" while lines.length id = _.last lines.shift().split(" ") + break if !id tree = _.last lines.shift().split(" ") parents = []