Skip to content

Commit 1934d3c

Browse files
dschoGit for Windows Build Agent
authored andcommitted
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 <[email protected]> Signed-off-by: Derrick Stolee <[email protected]>
1 parent cfc1ea7 commit 1934d3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/gc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1817,7 +1817,7 @@ static int schtasks_schedule_task(const char *exec_path, enum schedule_priority
18171817
"</Settings>\n"
18181818
"<Actions Context=\"Author\">\n"
18191819
"<Exec>\n"
1820-
"<Command>\"%s\\git.exe\"</Command>\n"
1820+
"<Command>\"%s\\headless-git.exe\"</Command>\n"
18211821
"<Arguments>--exec-path=\"%s\" for-each-repo --config=maintenance.repo maintenance run --schedule=%s</Arguments>\n"
18221822
"</Exec>\n"
18231823
"</Actions>\n"

0 commit comments

Comments
 (0)