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

\GitFetchTask

Wrapper aroung git-fetch

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

Extends from
\GitBaseTask
see
\VersionControl_Git
author
Victor Farazdagi
copyright
2001,2002 THYRELL. All rights reserved
package
phing.tasks.ext.git
since
2.4.3
version
$Id: GitFetchTask.php 1051 2011-03-02 19:40:51Z victor $

Properties

Propertyprivateboolean  $allRemotes= 'false'

Fetch all remotes --all key to git-fetch

Default valuefalseDetails
Type
boolean
Propertyprivateboolean  $force= 'false'

--force, -f key to git-fetch

Default valuefalseDetails
Type
boolean
Propertyprivatestring  $group= ''

<group> argument to git-fetch

Details
Type
string
Propertyprivateboolean  $keepFiles= 'false'

Keep downloaded pack --keep key to git-fetch

Default valuefalseDetails
Type
boolean
Propertyprivateboolean  $noTags= 'false'

Disable/enable automatic tag following --no-tags key to git-fetch

Default valuefalseDetails
Type
boolean
Propertyprivateboolean  $prune= 'false'

After fetching, remove any remote tracking branches which no longer exist on the remote.

--prune key to git fetch

Default valuefalseDetails
Type
boolean
Propertyprivateboolean  $quiet= 'false'

--quiet, -q key to git-fetch

Default valuefalseDetails
Type
boolean
Propertyprivatestring  $refspec= ''

<refspec> argument to git-fetch

Details
Type
string
Propertyprivatestring  $source= 'origin'

<repository> argument to git-fetch

Default valueoriginDetails
Type
string
Propertyprivateboolean  $tags= 'false'

Fetch all tags (even not reachable from branch heads) --tags key to git-fetch

Default valuefalseDetails
Type
boolean

Methods

methodpublic  getAll( ) :
methodpublic  getForce( ) :
methodpublic  getGroup( ) :
methodpublic  getKeep( ) :
methodpublic  getNoTags( ) :
methodpublic  getPrune( ) :
methodpublic  getQuiet( ) :
methodpublic  getRefspec( ) :
methodpublic  getSource( ) :
methodpublic  getTags( ) :
methodpublic  isAllRemotes( ) :
methodpublic  isForce( ) :
methodpublic  isKeepFiles( ) :
methodpublic  isNoTags( ) :
methodpublic  isPrune( ) :
methodpublic  isQuiet( ) :
methodpublic  isTags( ) :
methodpublic  main( ) :
The main entry point for the task
methodpublic  setAll(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setForce(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setGroup(  $group ) :
Parameters
Name Type Description
$group
methodpublic  setKeep(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setNoTags(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setPrune(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setQuiet(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setRefspec(  $spec ) :
Parameters
Name Type Description
$spec
methodpublic  setSource(  $source ) :
Parameters
Name Type Description
$source
methodpublic  setTags(  $flag ) :
Parameters
Name Type Description
$flag
Documentation was generated by DocBlox 0.13.1.