From f7de676087cff50b3a45fc5eaf0a8a3f57ee0ccb Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Sat, 19 Mar 2011 19:53:10 +0300 Subject: [PATCH] tg-update: allow skipping branch if recursion fails This allows user to skip failed recursive update and continue with current state. It makes it possible to continue after missing depenndency (which was the silent default before). Signed-off-by: Andrey Borzenkov --- tg-update.sh | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/tg-update.sh b/tg-update.sh index 7f956ba..8d5ffc1 100644 --- a/tg-update.sh +++ b/tg-update.sh @@ -79,10 +79,20 @@ update_branch() { # The merge got stuck! Let the user fix it up. info "You are in a subshell. If you abort the merge," info "use \`exit 1\` to abort the recursive update altogether." - if ! sh -i