# Compact view of history in gitk

5 messages from 2009-09-29 to 2009-09-30. Participants: Yakup Akbay, Johannes Sixt, Martin Langhoff, Dirk Süsserott.
Thread: https://gitlist.dev/t/21088

## Yakup Akbay, 2009-09-29 11:49

Subject: Compact view of history in gitk
Message-ID: <4AC1F435.4030802@ubicom.com>
URL: https://gitlist.dev/e/4AC1F435.4030802%40ubicom.com

```
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

```

## Johannes Sixt, 2009-09-29 12:07

Subject: Re: Compact view of history in gitk
Message-ID: <4AC1F88E.7080802@viscovery.net>
URL: https://gitlist.dev/e/4AC1F88E.7080802%40viscovery.net
In-Reply-To: <4AC1F435.4030802@ubicom.com>

```
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

```

## Yakup Akbay, 2009-09-29 12:44

Subject: Re: Compact view of history in gitk
Message-ID: <4AC20123.20809@ubicom.com>
URL: https://gitlist.dev/e/4AC20123.20809%40ubicom.com
In-Reply-To: <4AC1F88E.7080802@viscovery.net>

```
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

```

## Martin Langhoff, 2009-09-29 15:21

Subject: Re: Compact view of history in gitk
Message-ID: <46a038f90909290821g4bb9cecewace8c8a516b74c78@mail.gmail.com>
URL: https://gitlist.dev/e/46a038f90909290821g4bb9cecewace8c8a516b74c78%40mail.gmail.com
In-Reply-To: <4AC1F88E.7080802@viscovery.net>

```
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

```

## Dirk Süsserott, 2009-09-30 18:41

Subject: Re: Compact view of history in gitk
Message-ID: <4AC3A644.9030407@dirk.my1.cc>
URL: https://gitlist.dev/e/4AC3A644.9030407%40dirk.my1.cc
In-Reply-To: <46a038f90909290821g4bb9cecewace8c8a516b74c78@mail.gmail.com>

```
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

```
