make.conf-repatch.sh: Port to git and improve coding style.