{"size": 424, "ext": "scrbl", "max_stars_repo_path": "libgit2/scribblings/message.scrbl", "max_stars_repo_name": "guygastineau/libgit2", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "libgit2/scribblings/message.scrbl", "max_issues_repo_name": "guygastineau/libgit2", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "libgit2/scribblings/message.scrbl", "max_forks_repo_name": "guygastineau/libgit2", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 19.2727272727, "max_line_length": 87, "alphanum_fraction": 0.6533018868}
#lang scribble/manual

@(require (for-label racket))

@title{Message}

@defmodule[libgit2/include/message]


@defproc[(git_message_prettify
          [out buf?]
          [message string?]
          [strip_comments boolean?]
          [comment_char char?])
         integer?]{
 Clean up message from excess whitespace and make sure that the last line ends with a '

 '.

 Optionally, can remove lines starting with a "#".
}
