Disable diff inclusion in comment emails for a repository
Problem to solve
When a repository contains particularly sensitive information (secrets or intellectual property), it can be desirable to not have that information sent over email.
Further details
GitLab can expose information contained within a repository through email when commenting on code.
I got a request internally if we could disable this for a given repository, but there isn't a means to do that.
Proposal
Provide setting for disabling inclusion of a diff in comments on code or merge requests within a repository.
What does success look like, and how can we measure that?
Having a way to disable displaying source via email notification.