git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
LYLiu Yubao <yubao.liu@gmail.com>
Date
Nov 16, 2009, 10:58 UTC
Message-ID
<4B013072.5030208@gmail.com>
In-Reply-To
<loom.20091116T090441-576@post.gmane.org>
Eric Raible wrote:
Show 18 quoted lines
> Liu Yubao <yubao.liu <at> gmail.com> writes:
> 
>> 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.

Previous: Liu Yubao
Message 4 of 4 in “how to make gitk to use specified history information”
  1. Liu YubaoNov 16, 2009
  2. Eric RaibleNov 16, 2009
  3. Liu YubaoNov 16, 2009
  4. dirty code to get an outline of commit history with gitk [Was: how to make gitk to use specified history information]Liu Yubao, Nov 16, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.