On 6/11/07, Jan Hudec <bulb@xxxxxx> wrote:
I think I mostly understood it now. Thank you.
Anyhow I think this could be useful to you: /* getAllRefSha() returns the list of sha of a given type, where type is a mask of Git::RefType flags see src/git.h. In this case we want the sha of the current branch */ QStringList revs = getAllRefSha(CUR_BRANCH); if (!revs.isEmpty()) { // all the sha info is stored in this QGit::Rev // class defined in src/common.h const Rev* r = revLookup(revs.first()); // short log (title) is r->shortLog(); // message body is r->longLog(); // etc.... } - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html