From 099ecab2141ed068edb02b73327b4e865b61d1da Mon Sep 17 00:00:00 2001 From: Kyle Smith Date: Mon, 25 Apr 2016 17:17:31 -0700 Subject: [PATCH] Use diff options even if the commit has no parent --- lib/commit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/commit.js b/lib/commit.js index 116af204b..28145ecae 100644 --- a/lib/commit.js +++ b/lib/commit.js @@ -197,7 +197,7 @@ Commit.prototype.getDiffWithOptions = function(options, callback) { }); }); } else { - diffs = [thisTree.diff(null)]; + diffs = [thisTree.diffWithOptions(null, options)]; } return Promise.all(diffs);