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

Re: Git Gui - enhancement suggestion - Can a double click on the file name in the “unstaged” area move the item to “staged changes”

From
Bert Wesarg <bert.wesarg@googlemail.com>
Date
Sep 13, 2019, 20:27 UTC
Message-ID
<CAKPyHN0=AHzr1V35PDzsq02aeGK1e54CxTeunED_u6GRUygkuA@mail.gmail.com>
In-Reply-To
<20190913143229.5yop5oaascgavynl@yadavpratyush.com>
On Fri, Sep 13, 2019 at 4:32 PM Pratyush Yadav <me@yadavpratyush.com> wrote:
Show 15 quoted lines
>
> On 13/09/19 12:24PM, Allan Ford wrote:
> > Dear Git Authors,
> >
> > Not a bug, but a suggestion consideration for “Git Gui”
> >
> > Can a double click on the file name in the “unstaged” area move the
> > item to “staged changes” .. (rather than having to click on the small
> > icon to the left of the file name?)
>
> It has been something on my radar for some time. Shouldn't be something
> too difficult to do.
>
> While I like the idea in general, I have a question that I'd like to ask
> other git-gui users:

I miss a general problem description: Whats wrong with the single-click on the icon to begin with?

I consider adding a second way as not not acceptable. I also consider double-click on a file in a GUI an "open" action. But in git-gui, this "open" action (showing the diff) is already done with a single-click.

From my point of view, it can stay as is.

Best, Bert

Show 16 quoted lines
>
> If we implement something like this, what happens when you single-click
> on the icon? Do we treat that as a stage/unstage command? If we keep the
> legacy behaviour of single-click on the icon stages/unstages, then a
> part of the row is single-click and the rest double-click.
>
> If we make an entire row of the stage/unstage widget double click, it
> messes with people who are already used to it.
>
> Is partial single and partial double click behaviour acceptable? Or
> should we make the entire row double click only? Or something else that
> I missed?
>
> --
> Regards,
> Pratyush Yadav
Previous: Pratyush YadavNext: Pratyush Yadav
Message 3 of 13 in “Git Gui - enhancement suggestion - Can a double click on the file name in the “unstaged” area move the item to “staged changes””
  1. Allan FordSep 13, 2019
  2. Pratyush YadavSep 13, 2019
  3. Bert WesargSep 13, 2019
  4. Pratyush YadavSep 13, 2019
  5. DavidSep 14, 2019
  6. Pratyush YadavSep 14, 2019
  7. DavidSep 15, 2019
  8. Pratyush YadavSep 16, 2019
  9. Marc BranchaudSep 13, 2019
  10. DavidSep 14, 2019
  11. Pratyush YadavSep 14, 2019
  12. DavidSep 15, 2019
  13. Johannes SixtSep 14, 2019

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.