Include libgit2 as submodule and use it to store sha's

This reduces GitX's memory usage and makes some operations much faster,
like graphing, by having a cheaper comparison
This commit is contained in:
Pieter de Bie
2008-11-21 10:18:18 +01:00
parent 1a7ad9415f
commit d2eafc2d52
14 changed files with 207 additions and 112 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ var Commit = function(obj) {
this.refs = obj.refs;
this.author_name = obj.author;
this.sha = obj.sha;
this.sha = obj.realSha();
this.parents = obj.parents;
this.subject = obj.subject;