logo

etc_portage

Unnamed repository; edit this file 'description' to name the repository. git clone https://hacktivis.me/git/etc_portage.git

0011-stagit-index.c-Let-HTTP-server-provide-default-index.patch (835B)


  1. From 10892ee7c67d59d809eb84fa88937a336635af5f Mon Sep 17 00:00:00 2001
  2. From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me>
  3. Date: Sat, 8 Apr 2017 17:51:33 +0200
  4. Subject: [PATCH 11/22] stagit-index.c: Let HTTP server provide default index
  5. ---
  6. stagit-index.c | 3 ++-
  7. 1 file changed, 2 insertions(+), 1 deletion(-)
  8. diff --git a/stagit-index.c b/stagit-index.c
  9. index cc70e4d..b4142ff 100644
  10. --- a/stagit-index.c
  11. +++ b/stagit-index.c
  12. @@ -124,7 +124,8 @@ writelog(FILE *fp)
  13. fputs("<tr><td><a href=\"", fp);
  14. xmlencode(fp, stripped_name, strlen(stripped_name));
  15. - fputs("/log.html\">", fp);
  16. + /*fputs("/log.html\">", fp); Let http server set default index */
  17. + fputs("/\">", fp);
  18. xmlencode(fp, stripped_name, strlen(stripped_name));
  19. fputs("</a></td><td>", fp);
  20. xmlencode(fp, description, strlen(description));
  21. --
  22. 2.26.2