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

Re: [PATCH] git-gui: Fast staging/unstaging of hunks/lines

From
Johannes Sixt <j6t@kdbg.org>
Date
Apr 12, 2010, 17:45 UTC
Message-ID
<201004121945.16216.j6t@kdbg.org>
In-Reply-To
<q2m36ca99e91004112349l9e336fffl7e69bb75bce07a40@mail.gmail.com>
On Montag, 12. April 2010, Bert Wesarg wrote:
Show 10 quoted lines
> I don't feel comfortable with this ambiguity myself. I see two ways to
> solve this:
>
>     a) Use Shift-Button-1 for lines
>
> or
>
>     b) Use Shift-Control-Button-1 for lines
>
> and make Control-Button-1 only stage hunks.
That's worse, because you need Shift-Button-1 to extend a selection.

The problem is that the X-Windowsy way to overload single-click operations. Personally, I prefer to get an operative response only on double-click. It's still unused, I think.

-- Hannes
Previous: Bert WesargNext: Bert Wesarg
Message 5 of 6 in “git-gui: Fast staging/unstaging of hunks/lines”
  1. git-gui: Fast staging/unstaging of hunks/linesBert Wesarg, Apr 5, 2010
  2. Bert WesargApr 11, 2010
  3. Johannes SixtApr 11, 2010
  4. Bert WesargApr 12, 2010
  5. Johannes SixtApr 12, 2010
  6. Bert WesargApr 12, 2010

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.