commit 7bf16821ab43b1b857aa86fd7e304ff383346bb2 from: Stefan Sperling date: Fri Feb 07 08:32:02 2020 UTC properly skip non-repo dirss in gotweb repo path by masking related errors commit - 00c42163d96ad8a9b66ebc11e73001d63f482e24 commit + 7bf16821ab43b1b857aa86fd7e304ff383346bb2 blob - 0de2db78492556687736ccc48e302c669284d403 blob + 7912b925a6449234804781bc808a0820647f3eaa --- gotweb/gotweb.c +++ gotweb/gotweb.c @@ -1468,8 +1468,10 @@ gw_load_got_paths(struct gw_trans *gw_trans) return got_error_from_errno("gw_dir malloc"); error = gw_load_got_path(gw_trans, gw_dir); - if (error && error->code == GOT_ERR_NOT_GIT_REPO) + if (error && error->code == GOT_ERR_NOT_GIT_REPO) { + error = NULL; continue; + } else if (error) return error;