mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user