stagit~ Unnamed repository; edit this file 'description' to name the repository. |
| log | files | refs | archive | README | LICENSE |
| commit 3718a6614c5f9c55930aabba54e5d2b90fa3d03c
parent e5ade7b3d28e97373523db35ef3265dcf5926c1a Author: djnn <email@djnn.sh> Date: Wed, 5 Nov 2025 21:43:55 +0100 oops Diffstat:
|
| 1 file changed, 4 insertions(+), 4 deletions(-) |
diff --git a/stagit-index.c b/stagit-index.c @@ -259,8 +259,8 @@ int main(int argc, char *argv[]) { // Write output writeheader(stdout); - fprintf(fp, "<div class=\"repo-list\">\n"); - fprintf(fp, "<ul>\n"); + fprintf(stdout, "<div class=\"repo-list\">\n"); + fprintf(stdout, "<ul>\n"); for (i = 0; i < nrepos; i++) { // open the repo, set globals as needed if (git_repository_open_ext(&repo, repos[i].path, GIT_REPOSITORY_OPEN_NO_SEARCH, NULL)) { @@ -274,8 +274,8 @@ int main(int argc, char *argv[]) { writelog(stdout); git_repository_free(repo); } - fprintf(fp, "</ul>\n"); - fprintf(fp, "</div>\n"); + fprintf(stdout, "</ul>\n"); + fprintf(stdout, "</div>\n"); writefooter(stdout); git_libgit2_shutdown(); |