]> git.wh0rd.org Git - home.git/commitdiff
git-rewrite-authors: silence rewrite warning+delay
authorMike Frysinger <vapier@gentoo.org>
Fri, 5 Mar 2021 04:02:31 +0000 (23:02 -0500)
committerMike Frysinger <vapier@gentoo.org>
Fri, 5 Mar 2021 04:02:31 +0000 (23:02 -0500)
.bin/git-rewrite-authors

index 601700805230e52478c77c9d3dbdac79ec034e80..2b8c398f71e48a15b33af53675924ff757b3ed2c 100755 (executable)
@@ -29,7 +29,8 @@ if [ ! -e "${author_file}" ] ; then
        echo "error: could not find ${author_file}"
        exit 1
 fi
-git filter-branch \
+FILTER_BRANCH_SQUELCH_WARNING=1 \
+exec git filter-branch \
        --env-filter ". '${tmp}';"' \
                eval "$(decode "${GIT_AUTHOR_NAME}" AUTHOR)"; \
                eval "$(decode "${GIT_COMMITTER_NAME}" COMMITTER)"; \