ci: freebsd repartition script didn't copy .git directory
authorPeter Eisentraut <peter@eisentraut.org>
Sun, 24 Mar 2024 07:41:14 +0000 (08:41 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Sun, 24 Mar 2024 07:41:14 +0000 (08:41 +0100)
commitfc2d260c7e6236fe2447dad0f8415e72f4be66a2
treede6650eac1d75c46f84e4ebfd9e92b27c875e74d
parent34768ee361656841a122f1c8d52a2ad753612feb
ci: freebsd repartition script didn't copy .git directory

We need a slightly different "cp" incantation to make sure top-level
"dot" files, such as ".git", are also copied.

This is relevant for example if a script wants to execute a git
command.  This currently does not happen, but it has come up while
testing other patches.

Reviewed-by: Tristan Partin <tristan@neon.tech>
Discussion: http://www.postgresql.org/message-id/flat/40e80f77-a294-4f29-a16f-e21bc7bc75fc%40eisentraut.org
src/tools/ci/gcp_freebsd_repartition.sh