commit 2811168fb08999d3a7e9f5170ccec0d9252df4c4 from: Stefan Sperling date: Wed Jul 04 10:53:44 2018 UTC fix off-by-one in blame_open() commit - cf8f1261b874e04a3aeb35afc2792dda12dab5b3 commit + 2811168fb08999d3a7e9f5170ccec0d9252df4c4 blob - 6753bf20a87ddd82647b112b845b1d051f7f9dd5 blob + d1fe9d34f891ab4c1a035a20597bb08251f044b1 --- lib/blame.c +++ lib/blame.c @@ -258,7 +258,7 @@ blame_open(struct got_blame **blamep, const char *path } /* Annotate remaining non-annotated lines with last commit. */ - for (lineno = 1; lineno < blame->nlines; lineno++) + for (lineno = 1; lineno <= blame->nlines; lineno++) annotate_line(blame, lineno, id); done: