Marek, RefSpecs are unmutable classes. I Can squeeze this into the patchset. Other than that, impressive! -- robin diff --git a/org.spearce.jgit/src/org/spearce/jgit/pgm/Push.java b/org.spearce.jgit/src/org/spearce/jgit/pgm/Push.java index 4130bc9..cbdf465 100644 --- a/org.spearce.jgit/src/org/spearce/jgit/pgm/Push.java +++ b/org.spearce.jgit/src/org/spearce/jgit/pgm/Push.java @@ -104,9 +104,9 @@ class Push extends TextBuiltin { transport.setOptionReceivePack(exec); for (; argi < args.length; argi++) { - final RefSpec spec = new RefSpec(args[argi]); + RefSpec spec = new RefSpec(args[argi]); if (forceAll) - spec.setForceUpdate(true); + spec = spec.setForceUpdate(true); refSpecs.add(spec); } final Collection<RemoteRefUpdate> toPush = transport -- 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