NAME
Slaughter::Transport::git - Git transport class.
SYNOPSIS
This transport copes with cloning a remote GIT repository to the local filesystem.
DESCRIPTION
This module uses the Slaughter::Transport::revisionControl
base-class in such a way as to offer a git-based transport.
All the implementation, except for the setup of some variables, comes from that base class.
IMPLEMENTATION
The following commands are set in the "_init" method:
- cmd_clone
-
This is set to "
git clone
". - cmd_update
-
This is set to "
git pull
". - cmd_version
-
This is set to "
git --version
". - name
-
This is set to "
git
".
AUTHOR
Steve
--
http://www.steve.org.uk/
LICENSE
Copyright (c) 2012 by Steve Kemp. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The LICENSE file contains the full text of the license.
new
Create a new instance of this object.
_init
Initialiaze this object, by setting up the Git-specific commands, etc.