I don't think so. My understanding is that GIT_EBUFS is meant to be used by functions that parses a buffer, so it can say that it expects more information than actually passed (I had this exact question earlier /cc @carlosmn).