Browse Source

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

* mg/maint-difftool-vim-readonly:
  mergetool-lib: call vim in readonly mode for diffs
maint
Junio C Hamano 14 years ago
parent
commit
13a39e2d86
  1. 4
      git-mergetool--lib.sh

4
git-mergetool--lib.sh

@ -182,7 +182,7 @@ run_merge_tool () { @@ -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 () { @@ -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
;;

Loading…
Cancel
Save