From 64832b859e849d8c630b6f327aa88cc601eddd59 Mon Sep 17 00:00:00 2001 From: Pierre Habouzit Date: Sun, 6 Sep 2009 18:55:24 +0200 Subject: [PATCH] add submodule update --rebase Signed-off-by: Pierre Habouzit --- +bin/git-up | 1 + 1 file changed, 1 insertion(+) diff --git a/+bin/git-up b/+bin/git-up index da40169..d9fc1cd 100755 --- a/+bin/git-up +++ b/+bin/git-up @@ -79,6 +79,7 @@ case "$action" in rebase) test -z "$unclean" || git stash save "git-up stash" git rebase "${remote}/${branch#refs/heads/}" + cd "$(dirname "$(git rev-parse --git-dir)")" && git submodule update --rebase ;; merge) test -z "$unclean" || git stash save "git-up stash" -- 2.20.1