X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-filter-branch.sh;h=e95845c0d6345ccc341d70d17431235197dfd967;hb=717c3972dafa9d792a331b98a09d3cee88c17618;hp=81fd3dba3de9671a1202bea389ad192cdd31c6ef;hpb=d539de9f25920f099e4e56b0acbb4ebf246ff0f4;p=git.git diff --git a/git-filter-branch.sh b/git-filter-branch.sh index 81fd3dba3..e95845c0d 100755 --- a/git-filter-branch.sh +++ b/git-filter-branch.sh @@ -331,7 +331,7 @@ while read commit parents; do die "tree filter failed: $filter_tree" ( - git diff-index -r --name-only $commit && + git diff-index -r --name-only --ignore-submodules $commit && git ls-files --others ) > "$tempdir"/tree-state || exit git update-index --add --replace --remove --stdin \