commit 3e9926ea004f2a839c0600f2daef1d04fca7894d from: Stefan Sperling date: Fri Jan 04 17:40:22 2019 UTC fix diffing of blamed commit in 'tog blame' commit - f12d0dbe463b659998c2426d120b6ef7b02ba401 commit + 3e9926ea004f2a839c0600f2daef1d04fca7894d blob - cc1fcce3ecd81ce4456ebc56847872abd1a8d919 blob + 3f63658ac257ad7b2e50a27e028e77a9b30c91bb --- tog/tog.c +++ tog/tog.c @@ -2724,8 +2724,7 @@ input_blame_view(struct tog_view **new_view, struct to struct got_commit_object *commit = NULL; id = get_selected_commit_id(s->blame.lines, s->first_displayed_line, s->selected_line); - if (id == NULL || got_object_id_cmp(id, - s->blamed_commit->id) == 0) + if (id == NULL) break; err = got_object_open_as_commit(&commit, s->repo, id); if (err)