@@ -453,12 +453,12 @@ <h2 id="_synopsis">SYNOPSIS</h2>
453453< div class ="sectionbody ">
454454< div class ="verseblock ">
455455< pre class ="content "> scalar clone [--single-branch] [--branch <main-branch>] [--full-clone]
456- [--[no-]src] <url> [<enlistment>]
456+ [--[no-]src] [--[no-]tags] [--[no-]maintenance] <url> [<enlistment>]
457457scalar list
458- scalar register [<enlistment>]
458+ scalar register [--[no-]maintenance] [ <enlistment>]
459459scalar unregister [<enlistment>]
460460scalar run ( all | config | commit-graph | fetch | loose-objects | pack-files ) [<enlistment>]
461- scalar reconfigure [ --all | <enlistment> ]
461+ scalar reconfigure [--maintenance=(enable|disable|keep)] [ --all | <enlistment> ]
462462scalar diagnose [<enlistment>]
463463scalar delete <enlistment></ pre >
464464</ div >
@@ -564,6 +564,12 @@ <h3 id="_clone">Clone</h3>
564564< p > A sparse-checkout is initialized by default. This behavior can be
565565turned off via < code > --full-clone</ code > .</ p >
566566</ dd >
567+ < dt class ="hdlist1 "> --[no-]maintenance</ dt >
568+ < dd >
569+ < p > By default, < code > scalar</ code > < code > clone</ code > configures the enlistment to use Git’s
570+ background maintenance feature. Use the < code > --no-maintenance</ code > to skip
571+ this configuration.</ p >
572+ </ dd >
567573</ dl >
568574</ div >
569575</ div >
@@ -595,6 +601,13 @@ <h3 id="_register">Register</h3>
595601< em > not</ em > called < code > src/</ code > , it itself will be considered to be the Scalar enlistment.</ p >
596602</ div >
597603</ dd >
604+ < dt class ="hdlist1 "> --[no-]maintenance</ dt >
605+ < dd >
606+ < p > By default, < code > scalar</ code > < code > register</ code > configures the enlistment to use Git’s
607+ background maintenance feature. Use the < code > --no-maintenance</ code > to skip
608+ this configuration. This does not disable any maintenance that may
609+ already be enabled in other ways.</ p >
610+ </ dd >
598611</ dl >
599612</ div >
600613</ div >
@@ -642,9 +655,24 @@ <h3 id="_reconfigure">Reconfigure</h3>
642655was somehow corrupted or changed by mistake, this subcommand allows to
643656reconfigure the enlistment.</ p >
644657</ div >
645- < div class ="paragraph ">
646- < p > With the < code > --all</ code > option, all enlistments currently registered with Scalar
647- will be reconfigured. Use this option after each Scalar upgrade.</ p >
658+ < div class ="dlist ">
659+ < dl >
660+ < dt class ="hdlist1 "> --all</ dt >
661+ < dd >
662+ < p > When < code > --all</ code > is specified, reconfigure all enlistments currently
663+ registered with Scalar by the < code > scalar.repo</ code > config key. Use this
664+ option after each upgrade to get the latest features.</ p >
665+ </ dd >
666+ < dt class ="hdlist1 "> --maintenance=(enable|disable|keep)</ dt >
667+ < dd >
668+ < p > By default, Scalar configures the enlistment to use Git’s
669+ background maintenance feature; this is the same as using the
670+ < code > enable</ code > value for this option. Use the < code > disable</ code > value to
671+ remove each considered enlistment from background maintenance.
672+ Use ‘keep’ to leave the background maintenance configuration
673+ untouched for these repositories.</ p >
674+ </ dd >
675+ </ dl >
648676</ div >
649677</ div >
650678< div class ="sect2 ">
@@ -697,7 +725,7 @@ <h2 id="_git">GIT</h2>
697725</ div >
698726< div id ="footer ">
699727< div id ="footer-text ">
700- Last updated 2025-02-14 21:38:14 -0800
728+ Last updated 2025-05-23 17:05:02 -0700
701729</ div >
702730</ div >
703731</ body >
0 commit comments