mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-11-24 12:20:59 +01:00
First we must not report an error when "git diff HEAD" fails. Second, we don't want to "cd" to the home dir when "git rev-parse --show-toplevel" returns an empty string. Third, we definitely want to check that a master branch really exists in the current directory to avoid mistakes.