From: Pierre Habouzit Date: Sun, 6 Sep 2009 16:55:24 +0000 (+0200) Subject: add submodule update --rebase X-Git-Url: http://git.madism.org/?a=commitdiff_plain;h=64832b859e849d8c630b6f327aa88cc601eddd59;p=~madcoder%2Fdotfiles.git add submodule update --rebase Signed-off-by: Pierre Habouzit --- 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"