constructs text from a given commit id