commit ca51c5411b14602dbc1b2de3e719eb15b0e7024e from: Stefan Sperling date: Mon Dec 07 01:03:40 2020 UTC reload references when the log view is restarted with Ctrl-L commit - 01ca22b169b8d5c62163b746db9d8c6d30fd9f81 commit + ca51c5411b14602dbc1b2de3e719eb15b0e7024e blob - 7004fad6ffd484ee8c5d4c93ac67634cb0744f2c blob + 2be3dee4d0fc764f5f68dbfe1c806d98db813cfc --- tog/tog.c +++ tog/tog.c @@ -2510,6 +2510,11 @@ input_log_view(struct tog_view **new_view, struct tog_ got_repo_get_path(s->repo), NULL); if (err) return err; + got_ref_list_free(&s->refs); + err = got_ref_list(&s->refs, s->repo, NULL, + got_ref_cmp_by_name, NULL); + if (err) + return err; err = got_commit_graph_open(&s->thread_args.graph, s->in_repo_path, !s->log_branches); if (err)