aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/git.js2
1 files changed, 1 insertions, 1 deletions
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,