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

Re: [TopGit PATCH v2] tg-graph: print dependency graph like git log --graph

From
MRMichael Radziej <mir@noris.de>
Date
May 20, 2009, 10:37 UTC
Message-ID
<20090520103703.GS8212@noris.de>
In-Reply-To
<1242801900-30895-1-git-send-email-bert.wesarg@googlemail.com>
On Wed, May 20, Bert Wesarg wrote:
Show 7 quoted lines
> ChangeLog:
>  v2:
>    * fix rename bug which caused random segfaults in gvpr
>    * add --decorate option, to print horizontal line from graph node to patch
>      name (like gitk do it for commits with tags or branch decorations)
>    * in dfs mode we should maintain the order given by the input
>    * make dfs mode the default
Hmm, still doesn't work, but in a different way ;-)
a) graphviz 2.16-3ubuntu2
mir@mir:topgit (bw/tg-graph-v2)> tg graph
gvpr: "/usr/local/share/topgit/graph.gvpr", line 952: gg_nl_ret +=
graph_output_commit_line();<<< 
 -- cannot convert node_t to string
mir@mir:topgit (bw/tg-graph-v2)> tg summary --graphviz
# GraphViz output; pipe to:
#   | dot -Tpng -o <ouput>
# or
#   | dot -Txlib
digraph G {
	graph [
		rankdir = "TB"
		label="TopGit Layout\n\n\n"
		fontsize = 14
		labelloc=top
		pad = "0.5,0.5"
	];
	"30154name" -> "master";
	"30154name" -> "master";
	"30154name" -> "master";
}
b) graphviz 2.20.2-3~bpo40+1

mir@asterix:~/src/topgit-mradziej$ tg graph mir@asterix:~/src/topgit-mradziej$ tg summary --graphviz # GraphViz output; pipe to: # | dot -Tpng -o <ouput> # or # | dot -Txlib

digraph G {
	graph [
		rankdir = "TB"
		label="TopGit Layout\n\n\n"
		fontsize = 14
		labelloc=top
		pad = "0.5,0.5"
	];
	"7344name" -> "master";
	"7344name" -> "master";
	"7344name" -> "master";
}
Michael
-- 
noris network AG - Deutschherrnstraße 15-19 - D-90429 Nürnberg -
Tel +49-911-9352-0 - Fax +49-911-9352-100
http://www.noris.de - The IT-Outsourcing Company
 
Vorstand: Ingo Kraupa (Vorsitzender), Joachim Astel, Hansjochen Klenk - 
Vorsitzender des Aufsichtsrats: Stefan Schnabel - AG Nürnberg HRB 17689
Previous: Bert WesargNext: Bert Wesarg
Message 2 of 5 in “tg-graph: print dependency graph like git log --graph”
  1. tg-graph: print dependency graph like git log --graphBert Wesarg, May 20, 2009
  2. Michael RadziejMay 20, 2009
  3. Bert WesargMay 20, 2009
  4. Michael RadziejMay 20, 2009
  5. Bert WesargMay 21, 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.