X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=%2Bbin%2Fgit-up;h=d9fc1cd2cc7ecc7b63391852160804d467afe95f;hb=67dce9601ce243c9121422a300d88ba78389b78e;hp=da40169df18d0d9041d79649f1706d4607cb4c07;hpb=56894d8e51e7d0ca54c798431fb3428245f6ce13;p=~madcoder%2Fdotfiles.git 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"