App::KGB::Commit(3pm)

App::KGB::Commit3pm

A single commit

Usage

    my $c = App::KGB::Commit->new(
        {   id      => 4536,
            changes => ["(M)/there"],
            log     => "fixed /there",
            author  => "My Self <[email protected]>",
            branch  => "trunk",
            module  => "test",
        }
    );

Overview

App::KGB::Change encapsulates a single commit. A commit has several properties: an ID, a list of changes, an author, a log message, optionally also a branch and a module.

Fields

id

The commit ID that uniquely identifies it in the repository (if applicable).

changes

An arrayref of App::KGB::Change instances or other objects that behave as strings.

author
log
branch
module

Constructor

new ( { initial field values } )

Standard constructor. Accepts a hashref with field values.

Overloads

stringify

Returns a text representation of the commit object

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 7 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13

From kgb-client 1.61-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.