diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-03-04 15:02:27 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-03-04 15:02:27 -0800 |
commit | 08fd8710e277eed73a21c6c5483c57bfeb14e8a7 (patch) | |
tree | 5d7341cdbf0f7076724615bde742a70b0ad08227 | |
parent | 5cb3c9b7dff15f762d63df0b6f2d6b4bf82565e9 (diff) | |
parent | 853c0ffe42fef0bd1abd5cc69d5e93fdd5a708aa (diff) | |
download | git-08fd8710e277eed73a21c6c5483c57bfeb14e8a7.tar.gz |
Merge branch 'mg/maint-difftool-vim-readonly'
* mg/maint-difftool-vim-readonly:
mergetool-lib: call vim in readonly mode for diffs
-rw-r--r-- | git-mergetool--lib.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git-mergetool--lib.sh b/git-mergetool--lib.sh index 77d4aee20e..78ce49e984 100644 --- a/git-mergetool--lib.sh +++ b/git-mergetool--lib.sh @@ -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 ;; |