def METHOD_NAME(self, promised_blob_id):
    try:
        self.proc.stdin.write(f"{promised_blob_id}\n".encode())
    except (BrokenPipeError, OSError):
        # if git-fetch dies early, we get an EPIPE here
        # we'll deal with it below
        pass