summaryrefslogtreecommitdiffstats
path: root/dts/scripts/filter.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dts/scripts/filter.sh')
-rwxr-xr-xdts/scripts/filter.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/dts/scripts/filter.sh b/dts/scripts/filter.sh
index e82218a1ca..e1f6bac298 100755
--- a/dts/scripts/filter.sh
+++ b/dts/scripts/filter.sh
@@ -27,10 +27,11 @@ rm -f .git/refs/original/refs/heads/${UPSTREAM_REWRITTEN}
git branch -f $UPSTREAM_REWRITTEN FETCH_HEAD
-sh $SCRIPTS/git-filter-branch --force \
+git filter-branch --force \
--index-filter ${SCRIPTS}/index-filter.sh \
--msg-filter 'cat && /bin/echo -e "\n[ upstream commit: $GIT_COMMIT ]"' \
--tag-name-filter 'while read t ; do /bin/echo -n $t-dts-raw ; done' \
+ --parent-filter 'sed "s/-p //g" | xargs -r git show-branch --independent | sed "s/\</-p /g"' \
--prune-empty --state-branch refs/heads/filter-state \
-- $RANGE