You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CLI merge -s reports success when the merge stopped on conflicts #21
if (isset($args[1], $args[2]) && in_array($args[1], ['ours', 'ort', 'recursive'], true)) {
$result = $repo->merge($args[2], $args[1]);
fwrite(STDOUT, "Merge successful.\n");
return;
}
). When the merge stops on conflicts, the conflict state is written but the CLI reports success. Without -s, the same situation prints CONFLICT in: ... and exits with 1 (
# main and feature both change line 1 of a.txt
pitmaster merge -s recursive feature # "Merge successful.", exit 0
pitmaster status # Unmerged paths: a.txt
Expected
Report conflicts and exit with 1 for -s merges as for the default path.
Activity