tasks/ext/git/GitLogTask.php
\GitLogTask
Package: phing\tasks\ext\git
Wrapper aroung git-log
- Parent(s)
- \GitBaseTask < \Task < \ProjectComponent
- See
- \VersionControl_Git
- Author
- Evan Kaufman
- Author
- Victor Farazdagi
- Since
- 2.4.5
- Version
- $Id: GitLogTask.php 1047 2011-03-02 16:54:32Z victor $
Properties

string
$format= ''medium''
Commit format. See --format of git-log
Default value
'medium'Details- Type
- string

\VersionControl_Git
$gitClient= 'null'
inheritedInherited from:
\GitBaseTask::$$gitClient
Default value
nullDetails- Type
- \VersionControl_Git
- Inherited_from
- \GitBaseTask::$$gitClient

string
$gitPath= ''/usr/bin/git''
Default value
'/usr/bin/git'Details- Type
- string
- Inherited_from
- \GitBaseTask::$$gitPath

integer
$maxCount= ''
Number of commits to show. See -<n>|-n|--max-count of git-log
Details
- Type
- integer

boolean
$nameStatus= 'false'
Names + status of changed files. See --name-status of git-log
Default value
falseDetails- Type
- boolean

boolean
$noMerges= 'false'
Don't show commits with more than one parent. See --no-merges of git-log
Default value
falseDetails- Type
- boolean

string
$paths= ''
<path> arguments to git-log Accepts one or more paths delimited by PATH_SEPARATOR
Details
- Type
- string

string|boolean
$stat= 'false'
Generate a diffstat. See --stat of git-log
Default value
falseDetails- Type
- string | boolean
Methods

getGitClient(
$reset
=
false, $repository
=
null
)
:
void
inherited
Inherited from:
\GitBaseTask::getGitClient()
Parameters
| Name | Type | Description |
|---|---|---|
| $reset | ||
| $repository |

getRuntimeConfigurableWrapper(
)
:
void
inherited
Inherited from:
Task::getRuntimeConfigurableWrapper()\GitBaseTask::getRuntimeConfigurableWrapper()

setGitPath(
string $gitPath
)
:
\GitBaseTask
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $gitPath | string | New path to git repository |
| Type | Description |
|---|---|
| \GitBaseTask |

setRepository(
string $repository
)
:
\GitBaseTask
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $repository | string | Repo directory |
| Type | Description |
|---|---|
| \GitBaseTask |

setRuntimeConfigurableWrapper(
)
:
void
inherited
Inherited from:
Task::setRuntimeConfigurableWrapper()\GitBaseTask::setRuntimeConfigurableWrapper()