mirror of
https://github.com/git/git.git
synced 2025-04-18 06:44:23 +00:00
Merge branch 'cj/p4merge' into maint
* cj/p4merge: Pass empty file to p4merge where no base is suitable.
This commit is contained in:
commit
e82c74618b
@ -258,12 +258,9 @@ run_merge_tool () {
|
||||
;;
|
||||
p4merge)
|
||||
if merge_mode; then
|
||||
touch "$BACKUP"
|
||||
if $base_present; then
|
||||
"$merge_tool_path" "$BASE" "$LOCAL" "$REMOTE" "$MERGED"
|
||||
else
|
||||
"$merge_tool_path" "$LOCAL" "$LOCAL" "$REMOTE" "$MERGED"
|
||||
fi
|
||||
touch "$BACKUP"
|
||||
$base_present || >"$BASE"
|
||||
"$merge_tool_path" "$BASE" "$LOCAL" "$REMOTE" "$MERGED"
|
||||
check_unchanged
|
||||
else
|
||||
"$merge_tool_path" "$LOCAL" "$REMOTE"
|
||||
|
Loading…
x
Reference in New Issue
Block a user