From 9744455da720324fcef0a9c6c55b94df0e62ec41 Mon Sep 17 00:00:00 2001 From: cel Date: Sat, 10 Jun 2017 21:31:40 -1000 Subject: Fix handling git hash --- lib/git.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/git.js b/lib/git.js index fa889ef..cfcea9e 100644 --- a/lib/git.js +++ b/lib/git.js @@ -618,7 +618,7 @@ Git.prototype.diffTrees = function (objs) { if (item.values[k]) created = false return { name: item.key, - hash: diff.hash, + hash: item.values.map(function (val) { return val.hash }), mode: diff.mode, type: item.values.map(function (val) { return val.type }), deleted: !head, -- cgit v1.2.3