classes/phing/tasks/ext/git/GitLogTask.php

\GitLogTask

Wrapper aroung git-log

Use {@link Project#createTask} to register a new Task.

Extends from
\GitBaseTask
see
\VersionControl_Git
author
Evan Kaufman
author
Victor Farazdagi
copyright
2001,2002 THYRELL. All rights reserved
package
phing.tasks.ext.git
since
2.4.5
version
$Id: GitLogTask.php 1047 2011-03-02 16:54:32Z victor $

Properties

Propertyprivatestring  $date= ''

Date format. See --date of git-log

Details
Type
string
Propertyprivatestring  $format= 'medium'

Commit format. See --format of git-log

Default valuemediumDetails
Type
string
Propertyprivateinteger  $maxCount= ''

Number of commits to show. See -<n>|-n|--max-count of git-log

Details
Type
integer
Propertyprivateboolean  $nameStatus= 'false'

Names + status of changed files. See --name-status of git-log

Default valuefalseDetails
Type
boolean
Propertyprivateboolean  $noMerges= 'false'

Don't show commits with more than one parent. See --no-merges of git-log

Default valuefalseDetails
Type
boolean
Propertyprivatestring  $outputProperty= ''

Property name to set with output value from git-log

Details
Type
string
Propertyprivatestring  $paths= ''

<path> arguments to git-log Accepts one or more paths delimited by PATH_SEPARATOR

Details
Type
string
Propertyprivatestring  $sinceCommit= ''

<since> argument to git-log

Details
Type
string
Propertyprivatestring|boolean  $stat= 'false'

Generate a diffstat. See --stat of git-log

Default valuefalseDetails
Type
stringboolean
Propertyprivatestring  $untilCommit= 'HEAD'

<until> argument to git-log

Default valueHEADDetails
Type
string

Methods

methodpublic  getDate( ) :
methodpublic  getFormat( ) :
methodpublic  getMaxCount( ) :
methodpublic  getNameStatus( ) :
methodpublic  getNoMerges( ) :
methodpublic  getPaths( ) :
methodpublic  getSince( ) :
methodpublic  getStat( ) :
methodpublic  getUntil( ) :
methodpublic  isNameStatus( ) :
methodpublic  isNoMerges( ) :
methodpublic  main( ) :
The main entry point for the task
methodpublic  setAfter(  $after ) :
Parameters
Name Type Description
$after
methodpublic  setBefore(  $before ) :
Parameters
Name Type Description
$before
methodpublic  setDate(  $date ) :
Parameters
Name Type Description
$date
methodpublic  setFormat(  $format ) :
Parameters
Name Type Description
$format
methodpublic  setMaxCount(  $count ) :
Parameters
Name Type Description
$count
methodpublic  setNameStatus(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setNoMerges(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setOutputProperty(  $prop ) :
Parameters
Name Type Description
$prop
methodpublic  setPaths(  $paths ) :
Parameters
Name Type Description
$paths
methodpublic  setSince(  $since ) :
Parameters
Name Type Description
$since
methodpublic  setStat(  $stat ) :
Parameters
Name Type Description
$stat
methodpublic  setUntil(  $until ) :
Parameters
Name Type Description
$until
Documentation was generated by DocBlox 0.13.1.