Re: [RFC PATCH v3 2/2] push: support pushing to a remote group
- From
Usman Akinyemi <usmanakinyemi202@gmail.com>
- Date
- Mar 31, 2026, 23:45 UTC
- Message-ID
- <CAPSxiM8Nks16nJCB9N8_bi-ZmQFF71UQEzACrF+pFXKXNuVdKQ@mail.gmail.com>
- In-Reply-To
- <xmqq7bqzu1xh.fsf@gitster.g>
Show 10 quoted lines
> > I would personally have designed to mimic exactly like "git push r1; > git push r2; ..." would do (not concatenated with "&&" but with > ";"), which would mean that there is only one single failure mode > that would not affect interactions with any other remotes, but I > have no strong arguments to choose that design, other than that it > would be easy to explain when we later start supporting pushes to > multiple remotes in parallel, where a failure to talk to one remote > cannot easily affect interaction with other remotes without getting > affected by timing issues.
If we want to have one failure mode i.e continue pushing when there is a failure, then, we have to use `run_command` to spawn a child process for each of the push.
Is there any other approach you see here ?