commit before rebase
diff --git a/gotweb/gotweb.c b/gotweb/gotweb.c
index e2d721f..2a81b4e 100644
--- a/gotweb/gotweb.c
+++ b/gotweb/gotweb.c
@@ -403,6 +403,12 @@ static const struct got_error *
gw_shortlog(struct trans *gw_trans)
{
const struct got_error *error = NULL;
+ struct got_repository *repo = NULL;
+
+ error = got_repo_open(&repo, gw_trans->repo_path, NULL);
+ if (error != NULL)
+ return error;
+
return error;
}