Generalize subcommand selection in "tg depend"
commitbd0a68e9716f944cb12848bee4649958f7db7eb8
authorPer Cederqvist <ceder@lysator.liu.se>
Tue, 24 Aug 2010 18:32:39 +0000 (24 20:32 +0200)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 24 Aug 2010 18:51:05 +0000 (24 20:51 +0200)
treee77d24cf0468d4f749f39f99472f05ec4a661780
parent913035b61e5ee1a583ff45014154e383a56c3292
Generalize subcommand selection in "tg depend"

Prepare "tg depend" for new subcommands by moving the implementation
of "tg add" to a function.

Signed-off-by: Per Cederqvist <ceder@lysator.liu.se>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
tg-depend.sh