Re: [RFC PATCH 4/7] fetch: --stdin
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 7, 2020, 21:58 UTC
- Message-ID
- <xmqqbljmf791.fsf@gitster.c.googlers.com>
- In-Reply-To
- <20200807211028.2736644-1-jonathantanmy@google.com>
Jonathan Tan <jonathantanmy@google.com> writes:
Show 6 quoted lines
> Yes, and I only implemented the reading in fetch_one() because > fetch_multiple() does not read additional refspecs from the command-line > (it does not take "argv"). Looking at the code, this seems to be on > purpose - there is the error message "fetch --all does not make sense > with refspecs", and when --multiple is set, all args are assumed to be > remotes.
OK, that does make sense. so the multiple one is just a short-hand for
for remote in ... do git fetch $remote done