diff options
author | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-06-10 21:31:40 -1000 |
---|---|---|
committer | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-06-10 21:31:40 -1000 |
commit | 9744455da720324fcef0a9c6c55b94df0e62ec41 (patch) | |
tree | 69242c49b6304b593918f93dd7fc43334e1bc6b1 | |
parent | a70b61642fbe5dd64fc66ce85028844b746f1868 (diff) | |
download | patchfoo-9744455da720324fcef0a9c6c55b94df0e62ec41.tar.gz patchfoo-9744455da720324fcef0a9c6c55b94df0e62ec41.zip |
Fix handling git hash
-rw-r--r-- | lib/git.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |