> However, --depth=1 has the problem ...

Another problem of --depth=1 is that it may fail with git versions < 2.8:
https://jira.mariadb.org/browse/MDEV-28032?workflowName=MariaDB+v4&stepId=1
https://github.com/git/git/commit/fb43e31f2b43076e7a30c9cd00d024

Therefore, it's not OK to use --depth=1 by default. But it would be OK
to do it based on a command-line option or environment variable.

Bruno




Reply via email to