diff --git a/stagit.c b/stagit.c
@@ -82,6 +82,7 @@ static char lastoidstr[GIT_OID_HEXSZ + 2]; /* id + newline + NUL byte */
static FILE *rcachefp, *wcachefp;
static const char *cachefile;
+/* Writes a Markdown README to the file using CMark */
void write_markdown_readme(FILE *file, git_blob *readme)
{
const char *markdown = git_blob_rawcontent(readme);
@@ -1266,7 +1267,7 @@ int main(int argc, char *argv[])
readme = readmefiles[i] + strlen("HEAD:");
char *ext = readme + strlen("README.");
- // If the README is a Markdown file, use pandoc to render it to HTML
+ // If the README is a Markdown file, use CMark to render it as HTML
if (!strcmp(ext, "md") || !strcmp(ext, "MD"))
{
readme = "README.html";