[pacman-dev] [PATCH libmakepkg 1/2] git: perform a shallow clone

Earnestly zibeon at googlemail.com
Sun May 1 00:04:01 UTC 2016


> +		if ! git clone --depth 1 --mirror "$url" "$dir"; then

This will completely break any pkgver() function using git describe to
build the version information.  I toyed with this idea once before and
during my testing found it to break everything relating to this.


More information about the pacman-dev mailing list