Re: [PATCH] contrib: add 'git difftool' for launching common merge tools

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Markus Heidelberg
Date: Sunday, January 18, 2009 - 10:03 pm

David Aguilar, 19.01.2009:

Well, in "wincmd l" "l" doesn't mean "left", it doesn't mean "put the
cursor into the left window", it just moves the cursor into the next
right window. So "wincmd r" doesn't mean "put the cursor into the right
window", but "rotate the window" (see :help ctrl-w_r).

So with "wincmd r" the local file would be moved to the left side and
the index file to the right side, still containing the cursor. Not what
we want.

With "wincmd l" the local file would stay on the right side, the index
file on the left side, but the cursor would move from the left to the
right side. Now we can edit the local file.


Hmm, I don't think it makes a difference, whether it's a builtin or not.
git-diff only exists behind the scenes, invoking it as "git-diff"
doesn't work anymore with default settings. On the other hand, I can
also invoke "git difftool" without the slash, git can find it. The same
way I can for example call "git svn", which also isn't a builtin.

Markus

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] contrib: add 'git difftool' for launching comm ..., Markus Heidelberg, (Sun Jan 18, 12:25 pm)
Re: [PATCH v2] contrib: add 'git-difftool' for launching c ..., Markus Heidelberg, (Sun Jan 18, 9:45 pm)
Re: [PATCH] contrib: add 'git difftool' for launching comm ..., Markus Heidelberg, (Sun Jan 18, 10:03 pm)