Robin Rosenberg <robin.rosenberg@xxxxxxxxxx> wrote: > @@ -243,10 +244,24 @@ else if (TransportLocal.canHandle(remote)) > final Collection<RefSpec> procRefs = expandPushWildcardsFor(db, specs); > > for (final RefSpec spec : procRefs) { > - final String srcRef = spec.getSource(); > + String srcRef = spec.getSource(); > + final Ref src = db.getRef(srcRef); > + if (src != null) > + srcRef = src.getName(); > + String remoteName = spec.getDestination(); > // null destination (no-colon in ref-spec) is a special case > - final String remoteName = (spec.getDestination() == null ? spec > - .getSource() : spec.getDestination()); Oh, right. I forgot about the fact that Marek put the code here, as then "push = master" in a config file works... OK. I'll apply. -- Shawn. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html