aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/serve.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/serve.js b/lib/serve.js
index 2eecd09..09f7aa3 100644
--- a/lib/serve.js
+++ b/lib/serve.js
@@ -2105,6 +2105,8 @@ Serve.prototype.gitDiff = function (revs) {
}, done())
self.getMsgDecryptedMaybeOoo(self.query.msg, done())
done(function (err, msg1, msg2) {
+ if (err && err.name === 'BlobNotFoundError')
+ return self.askWantBlobs(err.links)
if (err) return pull(
pull.once(u.renderError(err).outerHTML),
self.wrapPage('git diff ' + revs),