unless ($self->fake) {
s/\^($e)/$escapes{$1}->($self, $conf)/eg for @args;
}
+ unshift @args, $conf->git;
+ $conf->info('Executing "', join(' ', @args), '" into ', $self->work, "\n");
{
local $ENV{GIT_DIR} = $self->repo if exists $ENV{GIT_DIR};
local $ENV{GIT_EXEC_PATH} = $conf->git if exists $ENV{GIT_EXEC_PATH};
- system { $conf->git } $conf->git, @args;
+ system { $args[0] } @args;
}
if ($? == -1) {
$conf->crit("Failed to execute git: $!\n");