code: def commits_with_message(message):
      
      output = log("--grep '%s'" % message, oneline=True, quiet=True)
      lines = output.splitlines()
      return [l.split(' ', 1)[0] for l in lines]
docs: All commits with that message (in current branch)