From 814517c89ec5ca03d3d042196f99ac30fa2cabe3 Mon Sep 17 00:00:00 2001 From: Mikhail Goncharov Date: Tue, 10 Mar 2020 14:28:56 +0100 Subject: [PATCH] add link to a full diff --- scripts/phabtalk/phabtalk.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/phabtalk/phabtalk.py b/scripts/phabtalk/phabtalk.py index 954fe26..bf59942 100755 --- a/scripts/phabtalk/phabtalk.py +++ b/scripts/phabtalk/phabtalk.py @@ -299,7 +299,10 @@ class BuildReport: lines = lines[:m] description += ''.join(lines) + '\n```' if cut: - description += '\n{} diff lines are omitted. Please check full report.'.format(n - m) + description += '\n{} diff lines are omitted. See [full diff]({}/{}).'.format( + n - m, + self.results_url, + self.clang_format_patch) self.add_lint({ 'name': 'clang-format', 'severity': 'autofix',