Commit 17a96b9f3e444f9ccc92aad27ca5890af61fa2e0

Tracey Emery 2020-01-15T22:10:30

commit before rebase

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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;
 }