git-query
git data extraction tool using c and libgit2
git clone https://9o.is/git/git-query.git
commit 765adb9988987a054737b0c3c893c00f19c8e4d4 parent 5656c5fbc21adf72a30ae7f67eb16e4dcb35c78f Author: lostd <lostd@2f30.org> Date: Wed, 20 Jan 2016 16:36:16 +0200 Use the recommended HTML5 document type. Diffstat:
| M | stagit-index.c | | | 2 | +- |
| M | stagit.c | | | 2 | +- |
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/stagit-index.c b/stagit-index.c @@ -96,7 +96,7 @@ printtimeshort(FILE *fp, const git_time *intime) int writeheader(FILE *fp) { - fputs("<!DOCTYPE HTML>" + fputs("<!DOCTYPE html>\n" "<html dir=\"ltr\" lang=\"en\">\n<head>\n" "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n" "<meta http-equiv=\"Content-Language\" content=\"en\" />\n<title>", fp); diff --git a/stagit.c b/stagit.c @@ -237,7 +237,7 @@ printtimeshort(FILE *fp, const git_time *intime) int writeheader(FILE *fp) { - fputs("<!DOCTYPE HTML>" + fputs("<!DOCTYPE html>\n" "<html dir=\"ltr\" lang=\"en\">\n<head>\n" "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n" "<meta http-equiv=\"Content-Language\" content=\"en\" />\n<title>", fp);