Commit Diff


commit - 46b9c89b72ffed3b1d8afaf5b211412c3d2fc6af
commit + 17a96b9f3e444f9ccc92aad27ca5890af61fa2e0
blob - e2d721fa97f66a118d60151b4434de04195a7e25
blob + 2a81b4e630f47940689755f379f67be7423f49ac
--- gotweb/gotweb.c
+++ 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;
 }