mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
PBGitRepository: Also request parents when doing our revwalk
This is necessary for cool graph displaying, to be made.
This commit is contained in:
+1
-4
@@ -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;
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user