Scroll to navigation

Git::Raw(3pm) User Contributed Perl Documentation Git::Raw(3pm)


Git::Raw - Perl bindings to the Git linkable library (libgit2)


version 0.79


libgit2 <> is a pure C implementation of the Git core methods provided as a re-entrant linkable library designed to be fast and portable with a solid API. This module provides Perl bindings to the libgit2 API.

WARNING: The API of this module is unstable and may change without warning (any change will be appropriately documented in the changelog).


features( )

List of (optional) compiled in features. Git::Raw may be built with support for threads, HTTPS and SSH.

message_prettify( $msg, [$strip_comments, $comment_char] )

Clean up $msg from excess whitespace and ensure that the last line ends with a newline. The default is to strip all comments, starting with a "#", unless otherwise specified.


Alessandro Ghedini <>

Jacques Germishuys <>


Copyright 2012 Alessandro Ghedini.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See for more information.

2018-05-15 perl v5.26.2