]> git.ipfire.org Git - thirdparty/git.git/commit
scalar clone: add --no-maintenance option
authorDerrick Stolee <stolee@gmail.com>
Wed, 7 May 2025 01:50:36 +0000 (01:50 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 7 May 2025 21:04:31 +0000 (14:04 -0700)
commit882ce0c475167039ca368d34699e113042ea47ae
treecee7ec9bc0986fb43ced77df5d91de36b5088f44
parent9816e24a78e3973164f324d50caa948ecfa2ab81
scalar clone: add --no-maintenance option

When creating a new enlistment via 'scalar clone', the default is to set
up situations that work for most user scenarios. Background maintenance
is one of those highly-recommended options for most users.

However, when using 'scalar clone' to create an enlistment in a
different situation, such as prepping a VM image, it may be valuable to
disable background maintenance so the manual maintenance steps do not
get blocked by concurrent background maintenance activities.

Add a new --no-maintenance option to 'scalar clone'.

Signed-off-by: Derrick Stolee <stolee@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/scalar.adoc
scalar.c
t/t9211-scalar-clone.sh