Commit Diff


commit - cf1fe301a38235134f7eb246ec0258c003b76e6f
commit + 6f0bf9bf2208992840af747296f09053d37593f3
blob - 223400d05d77d93e3fa2ad9b4c8784f3bd9eacbd
blob + 216ac9899ebad041edc8ae54cf2087381b4c8840
--- tog/tog.c
+++ tog/tog.c
@@ -8135,11 +8135,6 @@ tog_log_with_path(int argc, char *argv[])
 		/* not reached */
 	}
 
-	close_err = got_repo_close(repo);
-	if (error == NULL)
-		error = close_err;
-	repo = NULL;
-
 	error = got_object_id_str(&commit_id_str, commit_id);
 	if (error)
 		goto done;