Git::R...eration(3pm)
π Git::Raw::Rebase::Operation β the vibe check β¨
okay bestie, so this is a page from the User Contributed Perl Documentation (that's the manual name, we're keeping it, it's giving β¨officialβ¨). Say hi to Git::Raw::Rebase::Operation, one of the supporting cast in the Git::Raw universe. π¦
πΈ NAME πΈ
Git::Raw::Rebase::Operation β it's the git rebase operation class, no cap. That's literally what it is. π
β VERSION β
version 0.90 β yeah, that's the number, write it down.
π«Ά DESCRIPTION π«Ά
So a Git::Raw::Rebase::Operation represents a git rebase operation. Like, one single step in the whole rebase choreography. It's the little unit of "okay what are we doing with this commit" energy. π
β οΈ WARNING, bestie, listen up: the API of this module is unstable and may change without warning. Not me being dramatic β that's literally the doc. Any change will be appropriately documented in the changelog though, so it's not chaos, it's just... a vibe that moves. π Don't build your whole personality on this API staying still.
π METHODS π
type( )
Returns the type of rebase operation. That's it, that's the method. It tells you what kind of step you're looking at. π
id( )
The commit ID that's being cherry-picked. π
Careful though: this returns undef for EXEC operations. Because EXEC isn't cherry-picking anything at all, iykyk.
exec( )
The executable the user has requested to run. π
And listen β this returns undef for all but EXEC operations. So if it's not an EXEC, don't even look at it, it's not your moment. π
π CONSTANTS π
These are the type values, the whole cast of characters. Here's who's who:
PICKβ the given commit is to be cherry-picked π. The client should commit the changes and continue if there are no conflicts. Peaceful, cooperative, main character energy.REWORDβ the given commit is to be cherry-picked, but the client should prompt the user to provide an updated commit message βοΈ. So basically: same commit, new caption.EDITβ the given commit is to be cherry-picked, but the client should stop to allow the user to edit the changes before committing them. Pause. Breathe. Make it cute. πSQUASHβ the given commit is to be squashed into the previous commit π«. The commit message will be merged with the previous message. Two messages, one glorious merged blob.FIXUPβ the given commit is to be squashed into the previous commit, BUT the commit message from this commit will be discarded. ποΈ Yeeted. Gone. The changes stay, the words don't.EXECβ no commit will be cherry-picked. The client should run the given command and (if successful) continue. πβοΈ It's the "run this shell thing real quick" option, and it's the only one whereid()andexec()do their little opposites thing.
π AUTHOR π
Jacques Germishuys <jacquesg@cpan.org> β the legend, the icon, the moment. π«Ά
π LICENSE AND COPYRIGHT π
Copyright 2016 Jacques Germishuys.
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. Pick your fighter, both are valid. β¨
See http://dev.perl.org/licenses/ for more information.
and that's the whole page, bestie!! π written up against perl v5.42.3, dated 2026-08-19, from the Git::R...eration(3pm) page itself β go forth and rebase responsibly, mwah ππ
π¦ 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