Thread (4 messages) flat view 4 messages, 2 authors, 2016-06-15

dirty code to get an outline of commit history with gitk [Was: how to make gitk to use specified history information]

From: Liu Yubao <hidden>
Date: 2016-06-15 22:47:43

Eric Raible wrote:
Liu Yubao <yubao.liu <at> gmail.com> writes:
quoted
I want to obtain an outline of history information, for example:

  a - b - c - d - h -i -j
   \         /
    e- f - g

I simplify the graph like this:

  a - c - d - j
    \    /
      g
"gitk --simplify-by-decoration"?

- Eric
Hi, I get a very dirty implementation, see

http://jff.googlecode.com/svn/trunk/utils/git-branch-graph/

http://jff.googlecode.com/files/gitk-branch-graph--all.png
http://jff.googlecode.com/files/gitk--all.png

These are just to show my expectation, the code is very very very dirty,
I hope git and gitk will add this feature in an elegant and efficent way.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help