Good question. You could return

a string, e.g. "stash@{38}" (not the message)

Iterable<RevCommit>

Iterable<RefLogEntry> This is the most complete of all
the readily available types.

Not sure. Chris?