From: Pavel Roskin <proski@gnu.org>
To: Marco Costalba <mcostalba@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: [RFC] qgit with tabs
Date: Wed, 17 May 2006 19:21:34 -0400 [thread overview]
Message-ID: <1147908094.32050.22.camel@dv> (raw)
In-Reply-To: <e5bfff550605131538u63b87002o3e9b5542c0e15bf7@mail.gmail.com>
Hi, Marco!
On Sun, 2006-05-14 at 00:38 +0200, Marco Costalba wrote:
> Hi Pavel,
>
> >
> > Sure, but I often want to see what changed in a particular file.
> >
> > And of course I only mean the subwindow dislaying the files affected by the
> > patch. The file tree should still have file annotation bound to the double
> > click.
> >
>
> I understand your reasons, but I have some doubts about this change:
>
> 1) The context menu is currently shared between the tree and the file
> list, splitting in two subcases adds some crap to the code (ok, this
> is not the real doubt ;-) )
Actually, "Get revision/patch" and "External diff" shouldn't be in the
popup used in the tree, or at least they should only appear for the
files affected by the currently selected patch.
"External diff" may be a good candidate for the toolbar if you find out
how to feed a multi-file patch to kompare (I guess you'll need two
temporary directories populated with differing files).
> 2) The context menu is currently shared between the file list in main
> view and the file list in patch view. The file list in patch view, of
> course, does not need a double click, a single click is enough to
> select corresponding file's diff. In main view you currently need a
> single click _plus_ a 'p' key press to change the view. So we should
> add another subcase here.
Yes. It should be perfectly OK to have different menus for different
contexts.
> 3) It is true that double clicking on a revision switch to the patch
> view at top position (if no file is selected), but it's also true that
> you can select the file's related diff directly in patch view with a
> single click on the right column file list.
That's true. But I still find myself double clicking on the file in the
file list and expecting to see the patch for the file. It's very
natural.
If I see the list of the recent patches, I see the descriptions and the
affected files. If I'm interested to see what changed in the file, it's
only natural for me to double-click the corresponding entry in the list.
Full history of a file is a much more advanced operation, and it's not
something I need to do often while browsing recently merged changes.
> 4) Once a file is selected, as example with a single click, you can
> browse through rev list and the selection is preserved, it means that
> anytime you switch to patch view page the content will be _already_
> centered on the correct diff.
That's useful, but irrelevant.
> 5) Double clicking on a file name is currently the only way (without
> opening the menu) to show the file content tab, with your suggested
> change we will have two ways to switch to patch view and no one to
> switch to file view.
That's a good thing. That's called consistency. git is about patches,
so showing the patches should be the default whenever practical.
The file viewer is a great feature, and it should be discoverable, but
it doesn't mean it should pop up when users expect something else.
>
> 6) Selecting from the tree view is very slow if you have to search for
> the correct file, it is fast only if the file is already selected, but
> in this case is faster to press 'p' key ;-)
That's true, but we are talking about double click behavior. Every
reasonable person can learn shortcuts, but the software should work
predictably even if operated by the mouse.
--
Regards,
Pavel Roskin
next prev parent reply other threads:[~2006-05-17 23:21 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-13 10:44 [RFC] qgit with tabs Marco Costalba
2006-05-13 11:07 ` Pavel Roskin
2006-05-13 11:31 ` Marco Costalba
2006-05-13 18:28 ` Pavel Roskin
2006-05-13 22:38 ` Marco Costalba
2006-05-17 23:21 ` Pavel Roskin [this message]
2006-05-19 16:54 ` Marco Costalba
2006-05-20 9:42 ` Pavel Roskin
2006-05-20 10:28 ` Paul Mackerras
2006-05-20 11:46 ` Marco Costalba
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1147908094.32050.22.camel@dv \
--to=proski@gnu.org \
--cc=git@vger.kernel.org \
--cc=mcostalba@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).