Skip to contentSkip to conversation

tg-undepend.sh: new command to remove a dependency.

PATCH New Jan Nieuwenhuizen 1 participant 1 message Jun 15, 2016 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tg-undepend.sh: new command to remove a dependency.

Here's a stab at removing a dependency from a topgit branch.

This is something we think we need for ooo-build to switch to git.

---
 Makefile       |    2 +-
 README         |    5 ++++
 tg-undepend.sh |   57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 63 insertions(+), 1 deletions(-)
 create mode 100755 tg-undepend.sh
Makefile +1 -1
index af46399..d40e509 100644
@@ -5,7 +5,7 @@ sharedir = $(prefix)/share/topgit
 hooksdir = $(cmddir)/hooks
 
 
-commands_in = tg-create.sh tg-delete.sh tg-export.sh tg-info.sh tg-patch.sh tg-summary.sh tg-update.sh
+commands_in = tg-create.sh tg-delete.sh tg-export.sh tg-info.sh tg-patch.sh tg-summary.sh tg-undepend.sh tg-update.sh
 hooks_in = hooks/pre-commit.sh
 
 commands_out = $(patsubst %.sh,%,$(commands_in))
README +5 -0
index b58a1b4..096b9ec 100644
@@ -330,6 +330,11 @@ tg export
 	TODO: Make stripping of [PATCH] and other prefixes configurable
 	TODO: --mbox option for other mode of operation
 
+tg undepend
+~~~~~~~~~~~
+	Update the current topic branch by removing the given
+	branch (required argument) from the list of dependencies.
+
 tg update
 ~~~~~~~~~
 	Update the current topic branch wrt. changes in the branches
tg-undepend.sh new file +57 -0

57 lines not on this page · raw message

Signature · 6 lines
1.6.0.rc0.44.g67270


-- 
Jan Nieuwenhuizen <[email protected]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org