Commit Diff


commit - 998ff57f4f4e054903fda595b99c7154510f6d3f
commit + f2e233d8c9ef56f29adca985325cc9696f7b4fb6
blob - 3bb1f98678b106ad77122434a981186a20b887b0
blob + ea25dfb919bc7fbff98d575ecbbab2c14831aae5
--- lib/blame.c
+++ lib/blame.c
@@ -103,7 +103,7 @@ annotate_line(struct got_blame *blame, int lineno, str
 	struct got_blame_line *line;
 
 	if (lineno < 1 || lineno > blame->nlines)
-		return got_error(GOT_ERR_RANGE);
+		return NULL;
 	
 	line = &blame->lines[lineno - 1];
 	if (line->annotated)