commit 2570478ea08a9ed02591a2cfbad57044dc2a2bf8 from: Tracey Emery date: Wed Jan 15 22:10:30 2020 UTC set shorlog display limit define commit - 7ee88b9776afbe7db898f0b6e73eef9dfc7977f3 commit + 2570478ea08a9ed02591a2cfbad57044dc2a2bf8 blob - 15fc0a94a994d38923171c5f849b8e1e2e8f56f0 blob + 6f259c4c75957440e44adba0ae36cb8e431da5d9 --- gotweb/gotweb.c +++ gotweb/gotweb.c @@ -1112,7 +1112,7 @@ gw_get_repo_shortlog(struct trans *gw_trans, const cha *commit_age = NULL, *commit_author = NULL, *commit_log = NULL, *shortlog_navs_html = NULL; regex_t regex; - int have_match, limit = 25; + int have_match, limit = D_MAXSLCOMMDISP; size_t newsize; struct buf *diffbuf; time_t committer_time; blob - 3ed34580241af652fe0f01829f678efa82cfd317 blob + 40a2d1de847af53951e4443e30f95c3e0d89aad4 --- gotweb/gotweb.h +++ gotweb/gotweb.h @@ -44,6 +44,7 @@ #define D_SHOWURL true #define D_MAXREPO 0 #define D_MAXREPODISP 25 +#define D_MAXSLCOMMDISP 10 #define D_MAXCOMMITDISP 25 #define BUFFER_SIZE 2048