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::Raw might 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 $msg from 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_comments and $comment_char to 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::AnnotatedCommit
  • Git::Raw::Blame
  • Git::Raw::Blame::Hunk
  • Git::Raw::Blob
  • Git::Raw::Branch
  • Git::Raw::Cert
  • Git::Raw::Cert::HostKey
  • Git::Raw::Cert::X509
  • Git::Raw::Commit
  • Git::Raw::Config
  • Git::Raw::Cred
  • Git::Raw::Diff
  • Git::Raw::Diff::Delta
  • Git::Raw::Diff::File
  • Git::Raw::Diff::Hunk
  • Git::Raw::Diff::Stats
  • Git::Raw::Error
  • Git::Raw::Error::Category
  • Git::Raw::Filter
  • Git::Raw::Filter::List
  • Git::Raw::Filter::Source
  • Git::Raw::Graph
  • Git::Raw::Index
  • Git::Raw::Index::Conflict
  • Git::Raw::Index::Entry
  • Git::Raw::Indexer
  • Git::Raw::Mempack
  • Git::Raw::Merge::File::Result
  • Git::Raw::Note
  • Git::Raw::Object
  • Git::Raw::Odb
  • Git::Raw::Odb::Backend
  • Git::Raw::Odb::Backend::Loose
  • Git::Raw::Odb::Backend::OnePack
  • Git::Raw::Odb::Backend::Pack
  • Git::Raw::Odb::Object
  • Git::Raw::Packbuilder
  • Git::Raw::Patch
  • Git::Raw::PathSpec
  • Git::Raw::PathSpec::MatchList
  • Git::Raw::Rebase
  • Git::Raw::Rebase::Operation
  • Git::Raw::RefSpec
  • Git::Raw::Reference
  • Git::Raw::Reflog
  • Git::Raw::Reflog::Entry
  • Git::Raw::Remote
  • Git::Raw::Repository
  • Git::Raw::Signature
  • Git::Raw::Submodule
  • Git::Raw::Stash
  • Git::Raw::Stash::Progress
  • Git::Raw::Tag
  • Git::Raw::TransferProgress
  • Git::Raw::Tree
  • Git::Raw::Tree::Builder
  • Git::Raw::Tree::Entry
  • Git::Raw::Walker
  • Git::Raw::Worktree

πŸ‘‘ AUTHOR πŸ‘‘

  • Alessandro Ghedini <alexbio@cpan.org>
  • Jacques Germishuys <jacquesg@cpan.org>

the two icons who made this happen, we stan πŸ«‘πŸ’œ


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