Commit Diff


commit - 2183bbf63dd94765e293607b7dd98e3254cbbf60
commit + ce0bbcfd76f150d6b4253f7ac8817db59aad88ac
blob - e2ab7fb8c5916ade42e84767e6b5af6a15ad05bc
blob + 1ac21595d4638be678754ee601b13feb7d7715b1
--- lib/worktree.c
+++ lib/worktree.c
@@ -3571,7 +3571,6 @@ report_single_file_status(const char *path, const char
 			return got_error_from_errno2("lstat", ondisk_path);
 		return (*status_cb)(status_arg, GOT_STATUS_NONEXISTENT,
 		    GOT_STATUS_NO_CHANGE, path, NULL, NULL, NULL, -1, NULL);
-		return NULL;
 	}
 
 	if (S_ISREG(sb.st_mode) || S_ISLNK(sb.st_mode))