t5516: Use test_cmp when appropriate
[gitweb.git] / git-filter-branch.sh
index 81fd3dba3de9671a1202bea389ad192cdd31c6ef..e95845c0d6345ccc341d70d17431235197dfd967 100755 (executable)
@@ -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 \