Junio C Hamano
10 years ago
4 changed files with 28 additions and 27 deletions
@ -0,0 +1,25 @@
@@ -0,0 +1,25 @@
|
||||
diff_cmd () { |
||||
"$merge_tool_path" "$LOCAL" "$REMOTE" |
||||
} |
||||
|
||||
merge_cmd () { |
||||
touch "$BACKUP" |
||||
if $base_present |
||||
then |
||||
"$merge_tool_path" "$LOCAL" "$REMOTE" "$BASE" \ |
||||
-mergeoutput="$MERGED" |
||||
else |
||||
"$merge_tool_path" "$LOCAL" "$REMOTE" \ |
||||
-mergeoutput="$MERGED" |
||||
fi |
||||
check_unchanged |
||||
} |
||||
|
||||
translate_merge_tool_path() { |
||||
if type bcomp >/dev/null 2>/dev/null |
||||
then |
||||
echo bcomp |
||||
else |
||||
echo bcompare |
||||
fi |
||||
} |
@ -1,25 +1 @@
@@ -1,25 +1 @@
|
||||
diff_cmd () { |
||||
"$merge_tool_path" "$LOCAL" "$REMOTE" |
||||
} |
||||
|
||||
merge_cmd () { |
||||
touch "$BACKUP" |
||||
if $base_present |
||||
then |
||||
"$merge_tool_path" "$LOCAL" "$REMOTE" "$BASE" \ |
||||
-mergeoutput="$MERGED" |
||||
else |
||||
"$merge_tool_path" "$LOCAL" "$REMOTE" \ |
||||
-mergeoutput="$MERGED" |
||||
fi |
||||
check_unchanged |
||||
} |
||||
|
||||
translate_merge_tool_path() { |
||||
if type bcomp >/dev/null 2>/dev/null |
||||
then |
||||
echo bcomp |
||||
else |
||||
echo bcompare |
||||
fi |
||||
} |
||||
. "$MERGE_TOOLS_DIR/bc" |
||||
|
Loading…
Reference in new issue