git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
David Aguilar <davvid@gmail.com>
Date
Jan 19, 2009, 05:32 UTC
Message-ID
<402731c90901182132i28f62474kae7595f89e2abdae@mail.gmail.com>
In-Reply-To
<200901190603.06506.markus.heidelberg@web.de>
On Sun, Jan 18, 2009 at 9:03 PM, Markus Heidelberg
> 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).

oops.. i should know better. sorry... let's ignore 2/2 for now then. I'll resend. duh.. I should have known better.. h left, j down, k up, l right.

Show 27 quoted lines
>
> 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.
>
>> > You have deleted all the '-' chars from git-command, but when using it as the
>> > name I think it's the preferred method, only when used as command then without
>> > slash.
>>
>> I was wondering about that.  I think I tried to follow the lead from
>> the git-diff.txt documentation, but "diff" is a builtin and thus
>> doesn't have an actual git-diff, so I see why they should be
>> different.
>
> 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
>
>
-- 
    David
Previous: Markus Heidelberg
Message 7 of 7 in “contrib: add 'git difftool' for launching common merge tools”
  1. contrib: add 'git difftool' for launching common merge toolsDavid Aguilar, Jan 16, 2009
  2. Markus HeidelbergJan 18, 2009
  3. contrib: add 'git-difftool' for launching common diff toolsDavid Aguilar, Jan 19, 2009
  4. Markus HeidelbergJan 19, 2009
  5. David AguilarJan 19, 2009
  6. Markus HeidelbergJan 19, 2009
  7. David AguilarJan 19, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.