summaryrefslogtreecommitdiff
path: root/stagit-index.c
diff options
context:
space:
mode:
authorOscar Benedito <oscar@oscarbenedito.com>2020-07-10 14:11:00 +0200
committerOscar Benedito <oscar@oscarbenedito.com>2020-07-30 12:44:16 +0200
commitd04741c8d606c1c7252c1c91142efe4e84e8d7da (patch)
treefe61805d7858c7c69c053fe2c3aee16f99aac903 /stagit-index.c
parent0cdc59b8fe9a042a0c32875c90b2d5be3c0aad1a (diff)
Added contributing information
Diffstat (limited to 'stagit-index.c')
-rw-r--r--stagit-index.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/stagit-index.c b/stagit-index.c
index b107cac..c4bdd22 100644
--- a/stagit-index.c
+++ b/stagit-index.c
@@ -86,7 +86,13 @@ writeheader(FILE *fp)
void
writefooter(FILE *fp)
{
- fputs("</tbody>\n</table>\n</div>\n</body>\n</html>\n", fp);
+ fputs("</tbody>\n</table>\n</div>\n"
+ "<div id=\"contribute\">\n"
+ "<h1>Contribute</h1>\n"
+ "<p>The best way to contribute to my repositories is through e-mail, check out <a href=\"https://git-send-email.io\">git-send-email.io</a> if you don’t know how to do that. Send your patches to <a href=\"mailto:patches@oscarbenedito.com\">patches@oscarbenedito.com</a> and change the subject prefix to specify the repository you are sending the patch for. You can do that running the following command from the git repository:</p>\n"
+ "<pre><code>git config format.subjectPrefix \"PATCH &lt;name-of-repository&gt;\"</code></pre>\n"
+ "<p>You can also contribute on <a href=\"https://gitlab.com/oscarbenedito\">GitLab</a> or <a href=\"https://github.com/oscarbenedito\">GitHub</a> (all my public repositories should be on both platforms) doing pull requests.</p>\n"
+ "</div>\n</body>\n</html>\n", fp);
}
int