make 'got rebase' close its commit graph when it is no longer needed
diff --git a/got/got.c b/got/got.c
index 25dbaaa..fd5ec92 100644
--- a/got/got.c
+++ b/got/got.c
@@ -3862,6 +3862,8 @@ cmd_rebase(int argc, char *argv[])
commit_id = parent_id;
}
}
+ got_commit_graph_close(graph);
+ graph = NULL;
if (SIMPLEQ_EMPTY(&commits)) {
if (continue_rebase)