diff --git a/scripts/phabtalk/phabtalk.py b/scripts/phabtalk/phabtalk.py index 5634de1..1267743 100755 --- a/scripts/phabtalk/phabtalk.py +++ b/scripts/phabtalk/phabtalk.py @@ -320,7 +320,7 @@ class BuildReport: comment = section_title('clang-format', success, present) if not success: comment += 'Please format your changes with clang-format by running `git-clang-format HEAD^` or applying ' \ - 'this patch.'.format(self.clang_format_patch) + 'this patch.'.format(os.path.basename(self.clang_format_patch)) self.comments.append(comment) self.success = success and self.success