commit 50284065f7c4b702704a3089a4fbda407631acba from: Stefan Sperling date: Fri Oct 04 13:09:09 2019 UTC fix bogus error return introduced in previous commit commit - e6b23735504306b985eac9a322f12aba3f159861 commit + 50284065f7c4b702704a3089a4fbda407631acba blob - 972a1f35a62becd7a97501af5101c4be2f718469 blob + 9c5b076048da355aa22fb10fbd74a357c2146375 --- tog/tog.c +++ tog/tog.c @@ -2148,7 +2148,7 @@ input_log_view(struct tog_view **new_view, struct tog_ if (err) { free(start_id); view_close(lv); - return got_error_from_errno("strdup"); + return err; } err = open_log_view(lv, start_id, s->refs, s->repo, s->head_ref_name, in_repo_path, 0);