git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* new gitk feature
@ 2006-04-26 10:59 Paul Mackerras
  2006-04-26 13:57 ` Jan-Benedict Glaw
  2006-04-26 15:09 ` Linus Torvalds
  0 siblings, 2 replies; 5+ messages in thread
From: Paul Mackerras @ 2006-04-26 10:59 UTC (permalink / raw)
  To: git

I just pushed some changes to gitk which add a new feature, the
ability to have multiple "views" of a repository.  Each view is a
subgraph of the full graph.  At the moment the only subgraph that you
can specify is the subgraph containing the commits that affect a
specified set of files or directories.  You can switch between views
quickly, and if the currently selected commit exists in the new view
when you switch views, it is selected in the new view.  There is one
view which always exists, the "All files" view.  If files or
directories are specified on the command line, a "Command line" view
is automatically created and selected at startup.

Thus, for the kernel repository I can have a "PPC" view which shows
changes to arch/powerpc, include/asm-powerpc etc.  When looking at a
commit in that view, I can switch to the "All files" view to see where
that commit fits in the overall history.

There is a "View" menu which contains the menu items for creating,
deleting, editing and selecting views.  If you check the "Remember
this view" box, gitk will write the definition of the view to your
~/.gitk file, and it will be automatically put in the list on startup.

I plan to add various other kinds of views, for example, a view that
shows only the commits that affect a selected file (or part of a file,
perhaps), and a view that shows just the current commit together with
all the commits that have tags.  (The latter will require some help
from git-rev-list. :)

Paul.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-04-28  5:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-26 10:59 new gitk feature Paul Mackerras
2006-04-26 13:57 ` Jan-Benedict Glaw
2006-04-26 15:09 ` Linus Torvalds
2006-04-27 23:52   ` Paul Mackerras
2006-04-28  5:11     ` Linus Torvalds

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).