logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Git::Raw::Rebase::Operation - Git rebase operation class

Author

       Jacques Germishuys <jacquesg@cpan.org>

Constants

PICK
       The given commit is to be cherry-picked. The client should commit the changes and continue if there are
       no conflicts.

   REWORD
       The given commit is to be cherry-picked, but the client should prompt the user to provide an updated
       commit message.

   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.

   SQUASH
       The given commit is to be squashed into the previous commit. The commit message will be merged with the
       previous message.

   FIXUP
       The given commit is to be squashed into the previous commit. The commit message from this commit will be
       discarded.

   EXEC
       No commit will be cherry-picked. The client should run the given command and (if successful) continue.

Description

       A Git::Raw::Rebase::Operation represents a git rebase operation.

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

Methods

type()
       The type of rebase operation.

   id()
       The commit ID being cherry-picked. This will return "undef" for "EXEC" operations.

   exec()
       The executable the user has requested to run. This will return "undef" for all but "EXEC" operations.

Name

       Git::Raw::Rebase::Operation - Git rebase operation class

Version

       version 0.90

See Also