set git merge tool using vimdiff
using git mergetool
vimrc :
echo &diff
echo 1 but echo 0
using standalone vimdiff echo 1
9.0.200
mac
No response
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
most likely, diff mode is enabled after the vim has completely started up (and after .vimrc) is read. Run it interactively using :echo &diff or in a VimEnter autocommand. I don't think this is a bug here.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Am 17.08.2022 um 18:08 schrieb vim-dev ML <vim-dev...@256bit.org>:
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/vim/vim/issues/10934/1218223692%40github.com.
Am 17.08.2022 um 18:08 schrieb vim-dev ML <notifi...@github.com>:
--
i just only use tool as vimdiff ,but has no startup cmd
[mergetool "vimdiff"]
cmd = "vim -d -c '4wincmd w | wincmd J | wincmd =' $LOCAL $BASE $REMOTE $MERGED"
this section makes it right.
but is there any explanation on this, git or vimdiff seems no doc on this, and cant google it out
—
Reply to this email directly, view it on GitHub.
You are receiving this because you commented.![]()
@chrisbra maybe the way git mergetool use vimdiff cause this.
@vim-ml 's cmd solution goes right. maybe i should ask git for an answer, there is no doc on this feature
—
Reply to this email directly, view it on GitHub.
You are receiving this because you were mentioned.![]()
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
I don't know whether you saw my earlier, lengthy reply to Chris, but
that answered the question of what changed in git. The URL that
Chris posted explains a little of the why, but not all. It just
said that they made the mergetool better, but it didn't explain how
the new way was better.
i did not see your lengthy reply to Chris and what he posted, perhaps in other issues or somewhere else.
i read the git-scm doc git-scm and the git man page, there is no explanations on this.
maybe the git mailing list is the right place to ask.
thanks, best regards
—
Reply to this email directly, view it on GitHub.
You are receiving this because you were mentioned.![]()
Closed #10934 as completed.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you were mentioned.![]()
I think the change by git was done to make the layout for vim more flexible, so that you do not need to specify vimdiff1, vimdiff2, vimdiff3 etc. It's explained by the author here: https://u92.eu/blog/git-vimdiff/
If you think there is a bug with this, I'd recommend to take this to the git developers mailinglist.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you were mentioned.![]()
@chrisbra thanks, i will read it
—
Reply to this email directly, view it on GitHub.
You are receiving this because you were mentioned.![]()