We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8272bca + 0a0ec7b commit e82c746Copy full SHA for e82c746
1 file changed
git-mergetool--lib.sh
@@ -258,12 +258,9 @@ run_merge_tool () {
258
;;
259
p4merge)
260
if merge_mode; then
261
- touch "$BACKUP"
262
- if $base_present; then
263
- "$merge_tool_path" "$BASE" "$LOCAL" "$REMOTE" "$MERGED"
264
- else
265
- "$merge_tool_path" "$LOCAL" "$LOCAL" "$REMOTE" "$MERGED"
266
- fi
+ touch "$BACKUP"
+ $base_present || >"$BASE"
+ "$merge_tool_path" "$BASE" "$LOCAL" "$REMOTE" "$MERGED"
267
check_unchanged
268
else
269
"$merge_tool_path" "$LOCAL" "$REMOTE"
0 commit comments