PBGitRepository: Also request parents when doing our revwalk

This is necessary for cool graph displaying, to be made.
This commit is contained in:
Pieter de Bie
2008-06-17 19:18:40 +02:00
parent 7555b1fa04
commit 447a8dc48c
4 changed files with 8 additions and 7 deletions
+1 -4
View File
@@ -27,10 +27,7 @@ var Commit = Class.create({
this.committer_email = match[2];
this.committer_date = new Date(parseInt(match[3]) * 1000);
this.parents = $A(this.header.match(/\nparent ([0-9a-f]{40,40})/g)).map(function(x) {
return x.replace("\nparent ","");
});
this.parents = obj.parents;
},
});