Summary: Ref T3855. See discussion leading up to T3855#142304.
Test Plan: See T3855#142304.
Reviewers: chad
Reviewed By: chad
Maniphest Tasks: T3855
Differential Revision: https://secure.phabricator.com/D14365
try {
if ($this->getShouldSquash()) {
+ // NOTE: We're explicitly specifying "--ff" to override the presence
+ // of "merge.ff" options in user configuration.
+
$api->execxLocal(
- 'merge --no-stat --no-commit --squash -- %s',
+ 'merge --no-stat --no-commit --ff --squash -- %s',
$source);
} else {
$api->execxLocal(
pht('PUSHING'),
pht('Pushing changes to "%s".', $this->getTargetFullRef()));
- list($err) = $api->execPassthru(
+ $err = $api->execPassthru(
'push -- %s %s:%s',
$this->getTargetRemote(),
$this->mergedRef,