http: expand http.cookieFile as a path
[gitweb.git] / git-filter-branch.sh
index fff8093d4f301b96a455a74dc062f7f645b15eed..ad24c8d854e5d615179a24f7335d58ef1eb2e931 100755 (executable)
@@ -319,7 +319,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 \