Thread (9 messages) flat view 9 messages, 3 authors, 2016-08-13

Re: [TopGit PATCH] prev/next/tsort: commands to explore dependencies

From: Petr Baudis <hidden>
Date: 2016-06-15 22:45:23

  Hi,

On Fri, Sep 19, 2008 at 11:55:00AM +0200, Bert Wesarg wrote:
I hacked 3 commands to explore the dependencies of TopGit patches:
  thanks, the idea of all three commands is good,
  I) tg prev [NAME]
     outputs the dependencies of NAME

 II) tg next [NAME]
     outputs patches that depends on NAME
  but I think it would be cleaner to add this functionality to
tg info...
III) tg tsort [PATTERN]
     outputs a topological order of all patches starting with PATTERN
...and tg summary (overally, to have a tree view of branches).
quoted hunk ↗ jump to hunk
diff --git a/tg-tsort.sh b/tg-tsort.sh
new file mode 100644
index 0000000..8a7376a
--- /dev/null
+++ b/tg-tsort.sh
..snip..
+					printf "%s\t%q\n" "${dep_rev}" "${dep}" >&3
+					printf "%s\t%s\n" "${topic_rev}" "${dep_rev}"
%q?

-- 
				Petr "Pasky" Baudis
The next generation of interesting software will be done
on the Macintosh, not the IBM PC.  -- Bill Gates
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help