Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ebuild-writing/misc-files/patches: discourage commenting out lines #217

Closed
wants to merge 2 commits into from

Conversation

thesamesam
Copy link
Member

We shouldn't add comments (#) within patch changes to source code (etc) because
it's unnecessary noise. Comments at the top of the patch are, of course, welcoome.

* Drop dates as we now recommend
* Use patch level 1

Signed-off-by: Sam James <sam@gentoo.org>
…patch content

We shouldn't add comments (#) within patch changes to source code (etc) because
it's unnecessary noise. Comments *at the top* of the patch are, of course, welcoome.

Signed-off-by: Sam James <sam@gentoo.org>
@@ -293,6 +293,14 @@ files automatically. Alternatively, you can specify the <c>-E</c> option with
<c>eapply</c> if you want to remove an empty file.
</p>

<p>
Removed lines should not appear in the patch because they are commented <d/> just
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Long line.
Otherwise patch LGTM.

@thesamesam thesamesam deleted the patches-no-comments branch June 18, 2021 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants