diff --git a/urmoms.c b/urmoms.c index 69f0d1f..d7e7005 100644 --- a/urmoms.c +++ b/urmoms.c @@ -503,11 +503,21 @@ writefiles(FILE *fp) git_repository_index(&index, repo); count = git_index_entrycount(index); + fputs("
Mode | Name | Size |
", fp); + fprintf(fp, "%u", entry->mode); /* TODO: fancy print, like: "-rw-r--r--" */ + fprintf(fp, " | path, strlen(entry->path)); + fputs("\">", fp); + xmlencode(fp, entry->path, strlen(entry->path)); + fputs(" | ", fp); + fprintf(fp, "%" PRIu64, entry->file_size); + fputs(" |