diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-07-02 20:36:58 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-07-02 20:36:58 -0400 |
commit | 93b69f118eebb3e623c89c51a0639b522ac0d3e0 (patch) | |
tree | e017d903e2768e36acb9640252b6adfa59d8b073 /bin/gitify | |
parent | f6fb39d53e854993915264b4613bc9f9de17a059 (diff) |
Add appropriate merges
Diffstat (limited to 'bin/gitify')
-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 } |