commit - cc18a9041607ade66988adf85046170c984a5793
commit + 7ecc73af19d2c370aa43beb6db4157289013aa0c
blob - 0235b8da6816a386ab956049de1ace696a559d4c
blob + 63acb736979cb3416240e8eb1949c9a2c236605c
--- gotweb/gotweb.c
+++ gotweb/gotweb.c
dt = opendir(dir_test);
if (dt == NULL) {
- error = got_error(GOT_ERR_NOT_GIT_REPO);
+ error = got_error_from_errno2("bad path", dir_test);
goto errored;
- }
+ } else
+ opened = 1;
done:
error = gw_get_repo_description(&gw_dir->description, gw_trans,
gw_dir->path);