diff --git a/git-filter-branch.sh b/git-filter-branch.sh
index 22b6ed4a784192bb865dff83731255b1979a1e39..d846cd9c929e290e00da61167a9cb80ce30691eb 100755 (executable)
--- a/git-filter-branch.sh
+++ b/git-filter-branch.sh
;;
*)
git rev-list --reverse --topo-order --default HEAD \
- --parents --full-history "$@" -- "$filter_subdir"
+ --parents "$@" -- "$filter_subdir"
esac > ../revs || die "Could not get the commits"
commits=$(wc -l <../revs | tr -d " ")
die "Could not checkout the index"
# files that $commit removed are now still in the working tree;
# remove them, else they would be added again
- git clean -q -f -x
+ git clean -d -q -f -x
eval "$filter_tree" < /dev/null ||
die "tree filter failed: $filter_tree"