Merge branch 'mg/maint-difftool-vim-readonly' into maint

* mg/maint-difftool-vim-readonly:
  mergetool-lib: call vim in readonly mode for diffs
This commit is contained in:
Junio C Hamano 2011-03-16 16:47:26 -07:00
commit 13a39e2d86

View File

@ -182,7 +182,7 @@ run_merge_tool () {
fi
check_unchanged
else
"$merge_tool_path" -f -d -c "wincmd l" \
"$merge_tool_path" -R -f -d -c "wincmd l" \
"$LOCAL" "$REMOTE"
fi
;;
@ -193,7 +193,7 @@ run_merge_tool () {
"$LOCAL" "$MERGED" "$REMOTE"
check_unchanged
else
"$merge_tool_path" -f -d -c "wincmd l" \
"$merge_tool_path" -R -f -d -c "wincmd l" \
"$LOCAL" "$REMOTE"
fi
;;