0
Grgit.open(dir: repoDir).log {
    range 'origin/develop', branch
    maxCommits:
        num
}

Can I add some argument to get commit body?

AHeyne
  • 3,377
  • 2
  • 11
  • 16
Neha
  • 73
  • 1
  • 4

1 Answers1

0

Depends on what you mean by the body. The log method returns a list of Commit objects that all have shortMessage and fullMessage properties

ajoberstar
  • 2,575
  • 19
  • 21