> On Tue, Jul 20, 2021 at 2:17 PM Jonathan Tan <jonathantanmy@xxxxxxxxxx> wrote: > > > > Overall, thanks for taking a look. If you have time, I would also > > appreciate comments on the overall idea of this series (the concept of > > remote-suggested hooks in general, the way that the user finds out about > > them, and how the user can make use of them). > > I'm curious what happens if we have multiple remotes. Do we only take > suggestions from `origin`? If not, what happens when there are > conflicting suggestions from different remotes? In this patch set, we only take suggestions from "origin". Right now my idea is to store the name of the ref that we should track (e.g. "refs/remotes/origin/suggested-refs") and only use that ref for hook suggestions, so we would only take suggestions from one remote. But the purpose of this RFC is to discuss questions like this, so feel free to let us know if you have additional use cases.