Commit Diff


commit - 7a800a02c49f1b97dfd6344a10df6e741894de56
commit + d5a6a0f390343f68393d08e55305180b9d81e68b
blob - 5d1a7898fc6d2054c70b36f3156ae2eb76c29e31
blob + d27a4182d938fd1710ad3b056c9206ed55584811
--- gotwebd/got_operations.c
+++ gotwebd/got_operations.c
@@ -1228,11 +1228,6 @@ got_output_file_blame(struct request *c)
 	if (error)
 		goto done;
 
-	if (commit_id == NULL) {
-		error = got_error(GOT_ERR_NO_OBJ);
-		goto done;
-	}
-
 	error = got_object_get_type(&obj_type, repo, obj_id);
 	if (error)
 		goto done;