diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2023-08-09 19:54:47 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-08-09 23:58:15 +0300 |
commit | 0050f8e401a70b1eda9e7358b04e6d6ef3d64ab1 (patch) | |
tree | 0c0a82aa7e34a61697f146f9024a4e4624ea409e /builtin/gc.c | |
parent | 4b8a2717bb5ea6b787e0037174dcbf53ccf4985c (diff) |
git maintenance: avoid console window in scheduled tasks on Windows
We just introduced a helper to avoid showing a console window when the
scheduled task runs `git.exe`. Let's actually use it.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/gc.c')
-rw-r--r-- | builtin/gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/gc.c b/builtin/gc.c index f3942188a6..fa6e52ddde 100644 --- a/builtin/gc.c +++ b/builtin/gc.c @@ -2068,7 +2068,7 @@ static int schtasks_schedule_task(const char *exec_path, enum schedule_priority "</Settings>\n" "<Actions Context=\"Author\">\n" "<Exec>\n" - "<Command>\"%s\\git.exe\"</Command>\n" + "<Command>\"%s\\headless-git.exe\"</Command>\n" "<Arguments>--exec-path=\"%s\" for-each-repo --config=maintenance.repo maintenance run --schedule=%s</Arguments>\n" "</Exec>\n" "</Actions>\n" |