Git::Raw(3pm)
β¨ NAME β¨
Git::Raw β bestie, it's the Perl bindings to the Git linkable library a.k.a. libgit2 π
(that's the 3pm up top, and yes this is a User Contributed Perl Documentation page, we love a community moment)
πΈ VERSION πΈ
version 0.90
π«Ά DESCRIPTION π«Ά
okay so picture this: libgit2 (<http://libgit2.github.com>) is a pure C implementation of the Git core methods, served up as a re-entrant linkable library that was literally designed to be fast and portable with a solid API. and this module? it's the Perl bindings to that libgit2 API. iconic behavior, no cap π
β οΈ WARNING: the API of this module is unstable and may change without warning π (any change will be appropriately documented in the changelog, so breathe, but still β heads up bestie)
π METHODS π
features( )β gives you the list of (optional) compiled-in features β¨Git::Rawmight be built with support for threads, HTTPS and SSH, and this is how you find out which ones you actually got.message_prettify( $msg, [$strip_comments, $comment_char] )β the glow-up function for your message π it cleans up$msgfrom excess whitespace and makes sure the last line ends with a newline. the default is to strip all comments β the ones starting with a"#"β unless you specify otherwise. you can pass$strip_commentsand$comment_charto change that vibe.
π DOCUMENTATION π
the whole friend group, alphabetized and everything π every single one of these has its own docs, go read them:
Git::Raw::AnnotatedCommitGit::Raw::BlameGit::Raw::Blame::HunkGit::Raw::BlobGit::Raw::BranchGit::Raw::CertGit::Raw::Cert::HostKeyGit::Raw::Cert::X509Git::Raw::CommitGit::Raw::ConfigGit::Raw::CredGit::Raw::DiffGit::Raw::Diff::DeltaGit::Raw::Diff::FileGit::Raw::Diff::HunkGit::Raw::Diff::StatsGit::Raw::ErrorGit::Raw::Error::CategoryGit::Raw::FilterGit::Raw::Filter::ListGit::Raw::Filter::SourceGit::Raw::GraphGit::Raw::IndexGit::Raw::Index::ConflictGit::Raw::Index::EntryGit::Raw::IndexerGit::Raw::MempackGit::Raw::Merge::File::ResultGit::Raw::NoteGit::Raw::ObjectGit::Raw::OdbGit::Raw::Odb::BackendGit::Raw::Odb::Backend::LooseGit::Raw::Odb::Backend::OnePackGit::Raw::Odb::Backend::PackGit::Raw::Odb::ObjectGit::Raw::PackbuilderGit::Raw::PatchGit::Raw::PathSpecGit::Raw::PathSpec::MatchListGit::Raw::RebaseGit::Raw::Rebase::OperationGit::Raw::RefSpecGit::Raw::ReferenceGit::Raw::ReflogGit::Raw::Reflog::EntryGit::Raw::RemoteGit::Raw::RepositoryGit::Raw::SignatureGit::Raw::SubmoduleGit::Raw::StashGit::Raw::Stash::ProgressGit::Raw::TagGit::Raw::TransferProgressGit::Raw::TreeGit::Raw::Tree::BuilderGit::Raw::Tree::EntryGit::Raw::WalkerGit::Raw::Worktree
π AUTHOR π
- Alessandro Ghedini <alexbio@cpan.org>
- Jacques Germishuys <jacquesg@cpan.org>
the two icons who made this happen, we stan π«‘π
π LICENSE AND COPYRIGHT π
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 <http://dev.perl.org/licenses/> for more information.
and that's the whole page, babe π this was perl v5.42.3, dated 2026-08-19, living under User Contributed Perl Documentation, filed as Git::Raw(3pm) β go build something slay with it πβ¨
π¦ where this page comes from
- ubuntu stonking: libgit-raw-perl 0.90+ds-3build3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms