Merge branch 'tor-github/pr/1165'

This commit is contained in:
George Kadianakis 2019-07-24 12:29:57 +03:00
commit 91f04d006b
2 changed files with 9 additions and 0 deletions

3
changes/bug31040 Normal file
View File

@ -0,0 +1,3 @@
o Minor bugfixes (developer tooling):
- Only log git script changes in post-merge script when merge was to the
master branch. Fixes bug 31040; bugfix on 0.4.1.1-alpha.

View File

@ -35,6 +35,12 @@ check_for_script_update() {
fi
}
cur_branch=$(git rev-parse --abbrev-ref HEAD)
if [ "$cur_branch" != "master" ]; then
echo "post-merge: Not a master branch. Skipping."
exit 0
fi
check_for_diffs "pre-push"
check_for_diffs "pre-commit"
check_for_diffs "post-merge"