git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RFC: Very useful script to SVG graph the git commits from a file orientated view
@ 2013-04-04 12:36 John Tapsell
  2013-04-04 12:46 ` Jeremy Rosen
  0 siblings, 1 reply; 6+ messages in thread
From: John Tapsell @ 2013-04-04 12:36 UTC (permalink / raw)
  To: Git List

Hi,
  I made this script to help me see the logical connections between
commits.  It produces a .svg graph showing the commits that affected a
file.

For example, say you have the commits:

commit1 - modify hello.c
commit2 - modify goodbye.c
commit3 - modify hello.c and goodbye.c

It will draw a graph showing the first two commits as siblings, and
commit3 as a child of commit1 and commit2.

I have found this very useful when squashing and rebasing development
branches that have got a lot of "fix typo" and "fix"  type commit
messages.  From the graph you can quickly see which commit they were
fixing (the parent, in the graph).

Here is an example output, running it on kwin for the last 100 commits:

$ graph_git.pl --nofiles -100

http://imagebin.org/252754

And again with files for the last 10 commits:

$ graph_git.pl -10

http://imagebin.org/252756

(Note that it has tooltips)

JohnFlux

^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <CAHQ6N+rPfYmNRjjU0EDx3B1O_K+c6zm9v=BT_bMEXZ1yQFXGhw@mail.gmail.com>]

end of thread, other threads:[~2013-04-09 14:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-04 12:36 RFC: Very useful script to SVG graph the git commits from a file orientated view John Tapsell
2013-04-04 12:46 ` Jeremy Rosen
2013-04-04 12:50   ` John Tapsell
2013-04-08 10:49     ` Jeremy Rosen
     [not found] <CAHQ6N+rPfYmNRjjU0EDx3B1O_K+c6zm9v=BT_bMEXZ1yQFXGhw@mail.gmail.com>
2013-04-09  8:55 ` Jeremy Rosen
2013-04-09 14:02   ` Christian Couder

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