* --jobs=0 no longer does any work
@ 2023-02-17 1:54 Drew Noakes
2023-03-27 9:19 ` Johannes Schindelin
0 siblings, 1 reply; 3+ messages in thread
From: Drew Noakes @ 2023-02-17 1:54 UTC (permalink / raw)
To: git@vger.kernel.org
What did you do before the bug happened? (Steps to reproduce your issue)
- Enter a repo with multiple remotes
- Run: git fetch --all --prune --jobs=0
What did you expect to happen? (Expected behavior)
- Multiple remotes to be fetched in parallel
What happened instead? (Actual behavior)
- Nothing fetched and command exits quickly with no output
What's different between what you expected and what actually happened?
- That command used to work correctly. It now does nothing.
Anything else you want to add:
- The git-config documentation says of zero jobs in "fetch.parallel" that "A value of 0 will give some reasonable default. If unset, it defaults to 1.".
- This started happening after I updated my version of Git for Windows earlier today.
- Excluding the --jobs argument or passing a non-zero value works as expected.
Please review the rest of the bug report below.
You can delete any lines you don't wish to share.
[System Info]
git version:
git version 2.39.2.windows.1
cpu: x86_64
built from commit: a82fa99b36ddfd643e61ed45e52abe314687df67
sizeof-long: 4
sizeof-size_t: 8
shell-path: /bin/sh
feature: fsmonitor--daemon
uname: Windows 10.0 22621
compiler info: gnuc: 12.2
libc info: no libc information available
$SHELL (typically, interactive shell): C:\Program Files\Git\usr\bin\bash.exe
[Enabled Hooks]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: --jobs=0 no longer does any work
2023-02-17 1:54 --jobs=0 no longer does any work Drew Noakes
@ 2023-03-27 9:19 ` Johannes Schindelin
2023-03-27 12:16 ` Drew Noakes
0 siblings, 1 reply; 3+ messages in thread
From: Johannes Schindelin @ 2023-03-27 9:19 UTC (permalink / raw)
To: Drew Noakes; +Cc: git@vger.kernel.org
Hi Drew,
On Fri, 17 Feb 2023, Drew Noakes wrote:
> What did you do before the bug happened? (Steps to reproduce your issue)
>
> - Enter a repo with multiple remotes
> - Run: git fetch --all --prune --jobs=0
>
> What did you expect to happen? (Expected behavior)
>
> - Multiple remotes to be fetched in parallel
>
> What happened instead? (Actual behavior)
>
> - Nothing fetched and command exits quickly with no output
>
> What's different between what you expected and what actually happened?
>
> - That command used to work correctly. It now does nothing.
This should be fixed via
https://github.com/git/git/commit/d180cc297922569e530da843bee4df3964167dea
which made it into v2.40.0, unless I am mistaken. Could you verify?
Ciao,
Johannes
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: --jobs=0 no longer does any work
2023-03-27 9:19 ` Johannes Schindelin
@ 2023-03-27 12:16 ` Drew Noakes
0 siblings, 0 replies; 3+ messages in thread
From: Drew Noakes @ 2023-03-27 12:16 UTC (permalink / raw)
To: Johannes Schindelin; +Cc: git@vger.kernel.org
Hi Johannes,
Fix verified in 2.40.0. Thank you for restoring this behaviour.
Best,
Drew.
-----Original Message-----
From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Sent: Monday, March 27, 2023 8:19 PM
To: Drew Noakes <drnoakes@microsoft.com>
Cc: git@vger.kernel.org
Subject: Re: --jobs=0 no longer does any work
Hi Drew,
On Fri, 17 Feb 2023, Drew Noakes wrote:
> What did you do before the bug happened? (Steps to reproduce your issue)
>
> - Enter a repo with multiple remotes
> - Run: git fetch --all --prune --jobs=0
>
> What did you expect to happen? (Expected behavior)
>
> - Multiple remotes to be fetched in parallel
>
> What happened instead? (Actual behavior)
>
> - Nothing fetched and command exits quickly with no output
>
> What's different between what you expected and what actually happened?
>
> - That command used to work correctly. It now does nothing.
This should be fixed via
https://github.com/git/git/commit/d180cc297922569e530da843bee4df3964167dea
which made it into v2.40.0, unless I am mistaken. Could you verify?
Ciao,
Johannes
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-03-27 12:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-17 1:54 --jobs=0 no longer does any work Drew Noakes
2023-03-27 9:19 ` Johannes Schindelin
2023-03-27 12:16 ` Drew Noakes
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).