aboutsummaryrefslogtreecommitdiffstats
path: root/builtin
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-08-15 10:19:47 -0700
committerJunio C Hamano <gitster@pobox.com>2023-08-15 10:19:47 -0700
commit32f4fa8d3be86a00188aa4c4af1cd375e25e4558 (patch)
tree6b046c0fa7b7453aecf28c41adff8bb44a0b71e8 /builtin
parentMerge branch 'js/allow-t4000-to-be-indented-with-spaces' (diff)
parentgit maintenance: avoid console window in scheduled tasks on Windows (diff)
downloadgit-32f4fa8d3be86a00188aa4c4af1cd375e25e4558.tar.gz
git-32f4fa8d3be86a00188aa4c4af1cd375e25e4558.zip
Merge branch 'ds/maintenance-on-windows-fix'
Windows updates. * ds/maintenance-on-windows-fix: git maintenance: avoid console window in scheduled tasks on Windows win32: add a helper to run `git.exe` without a foreground window
Diffstat (limited to 'builtin')
-rw-r--r--builtin/gc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/gc.c b/builtin/gc.c
index 19d73067aa..5c4315f0d8 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"