From: Junio C Hamano Date: Fri, 07 Aug 2020 21:58:34 GMT Subject: Re: [RFC PATCH 4/7] fetch: --stdin Message-ID: In-Reply-To: <20200807211028.2736644-1-jonathantanmy@google.com> Jonathan Tan writes: > 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