diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/gitify | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -78,6 +78,14 @@ main() { if [[ "$branch" != *.OLD ]]; then 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 + 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 + git update-ref -d refs/original/refs/heads/"$branch" + fi fi done } |