Instead of using an error here, I think it is enough to just return 0 and then after the `normalize_find_opts` returns, if `(opts & GIT_DIFF_FIND_ALL) == 0` then just return 0 because no find options were turned on.