git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Compact view of history in gitk
@ 2009-09-29 11:49 Yakup Akbay
  2009-09-29 12:07 ` Johannes Sixt
  0 siblings, 1 reply; 5+ messages in thread
From: Yakup Akbay @ 2009-09-29 11:49 UTC (permalink / raw)
  To: git

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-*-*-*-*-*-K


I want an output like this:

        E-~-F
       /
A-~-B-C-~-D
     \
      G-~-H-~-I
           \
            J-~-K

Is there an option in gitk (or in any other tool) to get such a view? 

Yakup

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

* Re: Compact view of history in gitk
  2009-09-29 11:49 Compact view of history in gitk Yakup Akbay
@ 2009-09-29 12:07 ` Johannes Sixt
  2009-09-29 12:44   ` Yakup Akbay
  2009-09-29 15:21   ` Martin Langhoff
  0 siblings, 2 replies; 5+ messages in thread
From: Johannes Sixt @ 2009-09-29 12:07 UTC (permalink / raw)
  To: Yakup Akbay; +Cc: git

Yakup Akbay schrieb:
> Think of the gitk version of the history below:
> 
>                  E-*-*-*-F
>                 /
> A-*-*-*-*-*-*-B-C-*-*-*-D
>               \
>                G-*-*-H-*-*-*-I
>                       \
>                        J-*-*-*-*-*-K
> 
> 
> I want an output like this:
> 
>        E-~-F
>       /
> A-~-B-C-~-D
>     \
>      G-~-H-~-I
>           \
>            J-~-K
> 
> 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

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

* Re: Compact view of history in gitk
  2009-09-29 12:07 ` Johannes Sixt
@ 2009-09-29 12:44   ` Yakup Akbay
  2009-09-29 15:21   ` Martin Langhoff
  1 sibling, 0 replies; 5+ messages in thread
From: Yakup Akbay @ 2009-09-29 12:44 UTC (permalink / raw)
  To: Johannes Sixt; +Cc: git

Johannes Sixt wrote:
> Yakup Akbay schrieb:
>   
>> Think of the gitk version of the history below:
>>
>>                  E-*-*-*-F
>>                 /
>> A-*-*-*-*-*-*-B-C-*-*-*-D
>>               \
>>                G-*-*-H-*-*-*-I
>>                       \
>>                        J-*-*-*-*-*-K
>>
>>
>> I want an output like this:
>>
>>        E-~-F
>>       /
>> A-~-B-C-~-D
>>     \
>>      G-~-H-~-I
>>           \
>>            J-~-K
>>
>> 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

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

* Re: Compact view of history in gitk
  2009-09-29 12:07 ` Johannes Sixt
  2009-09-29 12:44   ` Yakup Akbay
@ 2009-09-29 15:21   ` Martin Langhoff
  2009-09-30 18:41     ` Dirk Süsserott
  1 sibling, 1 reply; 5+ messages in thread
From: Martin Langhoff @ 2009-09-29 15:21 UTC (permalink / raw)
  To: Johannes Sixt; +Cc: Yakup Akbay, git

On Tue, Sep 29, 2009 at 2:07 PM, Johannes Sixt <j.sixt@viscovery.net> wrote:
> 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
-- 
 martin.langhoff@gmail.com
 martin@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff

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

* Re: Compact view of history in gitk
  2009-09-29 15:21   ` Martin Langhoff
@ 2009-09-30 18:41     ` Dirk Süsserott
  0 siblings, 0 replies; 5+ messages in thread
From: Dirk Süsserott @ 2009-09-30 18:41 UTC (permalink / raw)
  To: Martin Langhoff; +Cc: Johannes Sixt, Yakup Akbay, git

Am 29.09.2009 17:21 schrieb Martin Langhoff:
> On Tue, Sep 29, 2009 at 2:07 PM, Johannes Sixt <j.sixt@viscovery.net> wrote:
>> 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

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

end of thread, other threads:[~2009-09-30 18:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-29 11:49 Compact view of history in gitk Yakup Akbay
2009-09-29 12:07 ` Johannes Sixt
2009-09-29 12:44   ` Yakup Akbay
2009-09-29 15:21   ` Martin Langhoff
2009-09-30 18:41     ` Dirk Süsserott

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