fclose(fpread);
}
+ /* read LICENSE */
+ if (!git_revparse_single(&obj, repo, "HEAD:LICENSE"))
+ haslicense = 1;
+ /* read README */
+ if (!git_revparse_single(&obj, repo, "HEAD:README"))
+ hasreadme = 1;
+
/* read LICENSE */
if (!git_revparse_single(&obj, repo, "HEAD:LICENSE")) {
fp = efopen("license.html", "w+b");
writefooter(fp);
fclose(fp);
-
- haslicense = 1;
}
/* read README */
err(1, "fwrite");
writefooter(fp);
fclose(fp);
-
- hasreadme = 1;
}
fp = efopen("log.html", "w+b");