summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2023-10-14 17:44:00 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2023-10-14 19:04:19 -0600
commit402abe1085460e03de15d9dbca53487b930bb721 (patch)
tree3c6882308bf445528528e884d303ab5a10b46ad5 /bin
parent84d09b97bf85096e98b8f6f7e95008788ab15f5f (diff)
gitify: Squelch the filter-branch warning
Diffstat (limited to 'bin')
-rwxr-xr-xbin/gitify4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/gitify b/bin/gitify
index 7282dc3..b245f3e 100755
--- a/bin/gitify
+++ b/bin/gitify
@@ -99,11 +99,11 @@ main() {
lastbranch="$branch"
fi
if [[ "$branch" == PROGRAMS/CVTUTF ]] && git log -n1 --stat|grep -qF 'ExpectedOutput.txt'; then
- git filter-branch -f --parent-filter 'cat; echo " -p BETA/CVTUTF-1-3"' HEAD^..HEAD
+ FILTER_BRANCH_SQUELCH_WARNING=1 git filter-branch -f --parent-filter 'cat; echo " -p BETA/CVTUTF-1-3"' HEAD^..HEAD
git update-ref -d refs/original/refs/heads/"$branch"
fi
if [[ "$branch" == PROGRAMS/CVTUTF.OLD ]] && git log -n1 --stat|grep -qi '.*\.c\s'; then
- git filter-branch -f --parent-filter 'cat; echo " -p PROGRAMS/CVTUTF^"' HEAD^..HEAD
+ FILTER_BRANCH_SQUELCH_WARNING=1 git filter-branch -f --parent-filter 'cat; echo " -p PROGRAMS/CVTUTF^"' HEAD^..HEAD
git update-ref -d refs/original/refs/heads/"$branch"
fi
fi