diff --git a/git_rebase_update.py b/git_rebase_update.py index e557ab12a9..c7bae67f34 100755 --- a/git_rebase_update.py +++ b/git_rebase_update.py @@ -258,7 +258,7 @@ def main(args=None): os.chdir(git.run('rev-parse', '--show-toplevel')) if git.current_branch() == 'HEAD': - if git.run('status', '--porcelain'): + if git.run('status', '--porcelain', '--ignore-submodules=all'): print('Cannot rebase-update with detached head + uncommitted changes.') return 1 else: