Merge branch 'dw/signoff-doc'
[gitweb.git] / git-filter-branch.sh
index d61f9baceb1bad4e70d8871ce491161e974c1c3c..98f1779cf3241fa12300fbf3dc0c4eff8ab10b61 100755 (executable)
@@ -361,7 +361,7 @@ while read commit parents; do
                        die "tree filter failed: $filter_tree"
 
                (
-                       git diff-index -r --name-only --ignore-submodules $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 \