diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-11-23 11:22:23 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-11-23 11:22:24 +0900 |
commit | 56a64fcdc32568cfe1db34c44767a740d25d6d21 (patch) | |
tree | 072273952b87aef51b45af6afae2f57df47f6a4b /Documentation | |
parent | 3b041ea5f7a3700a82cae479dc7f6d37e59569d2 (diff) | |
parent | 03744bbdc4284fbb358abd5347c8bb157f301243 (diff) | |
download | git-56a64fcdc32568cfe1db34c44767a740d25d6d21.tar.gz |
Merge branch 'rp/maintenance-qol'
'git maintenance register' is taught to write configuration to an
arbitrary path, and 'git for-each-repo' is taught to expand tilde
characters in paths.
* rp/maintenance-qol:
builtin/gc.c: fix use-after-free in maintenance_unregister()
maintenance --unregister: fix uninit'd data use & -Wdeclaration-after-statement
maintenance: add option to register in a specific config
for-each-repo: interpolate repo path arguments
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-maintenance.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Documentation/git-maintenance.txt b/Documentation/git-maintenance.txt index bb888690e4..805e5a2e3a 100644 --- a/Documentation/git-maintenance.txt +++ b/Documentation/git-maintenance.txt @@ -50,13 +50,13 @@ stop:: the background maintenance is restarted later. register:: - Initialize Git config values so any scheduled maintenance will - start running on this repository. This adds the repository to the - `maintenance.repo` config variable in the current user's global - config and enables some recommended configuration values for - `maintenance.<task>.schedule`. The tasks that are enabled are safe - for running in the background without disrupting foreground - processes. + Initialize Git config values so any scheduled maintenance will start + running on this repository. This adds the repository to the + `maintenance.repo` config variable in the current user's global config, + or the config specified by --config-file option, and enables some + recommended configuration values for `maintenance.<task>.schedule`. The + tasks that are enabled are safe for running in the background without + disrupting foreground processes. + The `register` subcommand will also set the `maintenance.strategy` config value to `incremental`, if this value is not previously set. The |