[pacman-dev] [PATCH] contrib/pacdiff : rework and cleanup