Page Breaks: IsLeaveWindow() is unreliable, we do not need it here.
[LibreOffice.git] / git-hooks / post-merge
blob25e62ed8a97fbe9b7802fd42ed44f38e5e58ed26
1 #!/bin/bash
3 # Do not warn if there were no real merge
4 git rev-parse -q --verify HEAD^2 >/dev/null || exit
6 echo
7 echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
8 echo "! You probably used 'git pull' instead of 'git pull -r' !"
9 echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
10 echo
11 echo "You can still fix it - please do 'git pull -r' now."
12 echo