commit - 331b1a1699dc074cf20f63a5c87102c4c4fe075f
commit + bf7e79b3bda88577a127a80a52a869c2766b8d7f
blob - e108f66bf154578de2ceda2a6ee7f0861ff1b483
blob + 1bbc6ac3ff0891d3af6e5d85173bee936fc262f2
--- tog/tog.c
+++ tog/tog.c
} else /* 'B' */
s->log_branches = !s->log_branches;
+ if (s->thread_args.pack_fds == NULL) {
+ err = got_repo_pack_fds_open(&s->thread_args.pack_fds);
+ if (err)
+ return err;
+ }
err = got_repo_open(&s->thread_args.repo,
got_repo_get_path(s->repo), NULL,
s->thread_args.pack_fds);