Compact view of history in gitk
Hi,
imagine a git history with many branches and many many commits in it,
which you cannot have a bird's eye view to the whole git history (consider linux kernel). What I'm looking for is to see is a graphical history representation with only the tip of all branches plus all merge bases drwan like a molecul shape, where all intermediate commits are replaced by a single symbol like '~'.
Think of the gitk version of the history below:
E-*-*-*-F
/
A-*-*-*-*-*-*-B-C-*-*-*-D
\
G-*-*-H-*-*-*-I
\
J-*-*-*-*-*-KI want an output like this:
E-~-F
/
A-~-B-C-~-D
\
G-~-H-~-I
\
J-~-KIs there an option in gitk (or in any other tool) to get such a view?
Yakup
Quoted 21 lines · Yakup Akbay
Think of the gitk version of the history below:
E-*-*-*-F / A-*-*-*-*-*-*-B-C-*-*-*-D \ G-*-*-H-*-*-*-I \ J-*-*-*-*-*-KI want an output like this:
E-~-F / A-~-B-C-~-D \ G-~-H-~-I \ J-~-K
Quoted 1 line
Is there an option in gitk (or in any other tool) to get such a view?
I think, --simplify-by-decoration comes close, even though it may not be 100% what you describe.
-- Hannes
Quoted 23 lines · Johannes Sixt
Quoted 21 lines · Yakup Akbay
Think of the gitk version of the history below:
E-*-*-*-F / A-*-*-*-*-*-*-B-C-*-*-*-D \ G-*-*-H-*-*-*-I \ J-*-*-*-*-*-KI want an output like this:
E-~-F / A-~-B-C-~-D \ G-~-H-~-I \ J-~-K
Quoted 8 lines
Quoted 2 lines
Is there an option in gitk (or in any other tool) to get such a view?
I think, --simplify-by-decoration comes close, even though it may not be 100% what you describe.
-- Hannes
Thanks Hannes, this is exactly what I need!
Yakup
Quoted 2 lines · Johannes Sixt
I think, --simplify-by-decoration comes close, even though it may not be 100% what you describe.
That is awesome.
Awesomer would be teaching gitk to expand (un-simplify) parts of it. Probably a pig of a project to do though :-/
m
Signature · 5 lines
[email protected] [email protected] -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff
Am 29.09.2009 17:21 schrieb Martin Langhoff:
Quoted 12 lines · Johannes Sixt
Quoted 2 lines
I think, --simplify-by-decoration comes close, even though it may not be 100% what you describe.
That is awesome.
Awesomer would be teaching gitk to expand (un-simplify) parts of it. Probably a pig of a project to do though :-/
m
I'm proud to tell that one might also use gitk's dialog 'View -> Edit view... (F4)' and then activate the 'Simple history' checkbox. :-)
Gitk knows about that since Git v1.6.4-rc0.
However, it doesn't do the awesomer part.
Dirk