]> git.ipfire.org Git - thirdparty/git.git/commit - scalar.c
scalar: 'register' sets recommended config and starts maintenance
authorDerrick Stolee <dstolee@microsoft.com>
Fri, 3 Dec 2021 13:34:19 +0000 (13:34 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sun, 5 Dec 2021 05:52:23 +0000 (21:52 -0800)
commitd0feac4e8c0b60b16c06363f9feb3e2d0ecf00f1
tree712dd342ba8c35250437ad40b168504a0366dd06
parent9187659f9a73897ba13e98fb5f08509e1ad8a713
scalar: 'register' sets recommended config and starts maintenance

Let's start implementing the `register` command. With this commit,
recommended settings are configured upon `scalar register`, and Git's
background maintenance is started.

The recommended config settings may very well change in the future. For
example, once the built-in FSMonitor is available, we will want to
enable it upon `scalar register`. For that reason, we explicitly support
running `scalar register` in an already-registered enlistment.

Co-authored-by: Victoria Dye <vdye@github.com>
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/scalar/scalar.c
contrib/scalar/scalar.txt