On Wed, Jul 29, 2020 at 5:29 PM Jeff King <peff@xxxxxxxx> wrote: > > This is an interesting middle ground. I'm a little iffy on it just > because it complicates the very simple case of "should I mention the > destination branch", No, you're absolutely right. After sending that message I went and looked at how nasty it would be, and it's not worth it. If we were doing perl or shell or whatever (like the original scripts were), it would have been trivial. But as things are now, I'll retract that idea as being overly complicated. It would solve my "rewrite repo name" thing, but I've solved that with a hook, and it's a bit hacky, but it's not horrendous or wrong. As you say, hooks are for special cases, and that hostname rewriting I do is very much a special case. Linus