Jonathan Tan <jonathantanmy@xxxxxxxxxx> 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