]> git.armaanb.net Git - stagit.git/blobdiff - src/stagit-index.c
do not simplify the history by first-parent
[stagit.git] / src / stagit-index.c
index 2a23e8f943dd4de5df20c96ade90564193172515..407d7fb7252b76f83d03a615f5007c006d8362a0 100644 (file)
@@ -84,8 +84,8 @@ writeheader(char *path)
        xmlencode(fp, description, strlen(description));
        fputs("</h1>\n", fp);
 
-       FILE *longdesc = fopen("desc.md", "r");
-       if (longdesc == NULL) longdesc = fopen("desc", "r");
+       FILE *longdesc = fopen("description.md", "r");
+       if (longdesc == NULL) longdesc = fopen("description", "r");
        if (longdesc != NULL) {
                char c = fgetc(longdesc);
 #ifdef HAS_CMARK
@@ -136,7 +136,6 @@ writelog(char *path)
 
        git_revwalk_new(&w, repo);
        git_revwalk_push_head(w);
-       git_revwalk_simplify_first_parent(w);
 
        if (git_revwalk_next(&id, w) ||
            git_commit_lookup(&commit, repo, &id)) {