Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/PHPGit/Command/FetchCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ public function all(array $options = array())
* - **append** (_boolean_) Append ref names and object names of fetched refs to the existing contents of .git/FETCH_HEAD
* - **keep** (_boolean_) Keep downloaded pack
* - **prune** (_boolean_) After fetching, remove any remote-tracking branches which no longer exist on the remote
* - **tags** (_boolean_) Fetch all tags from the remote (i.e., fetch remote tags refs/tags/* into local tags with the same name), in addition to whatever else would otherwise be fetched
*/
public function setDefaultOptions(OptionsResolverInterface $resolver)
{
Expand All @@ -106,6 +107,7 @@ public function setDefaultOptions(OptionsResolverInterface $resolver)
//'force' => false,
'keep' => false,
'prune' => false,
'tags' => false,
));
}

Expand Down