Junio C Hamano <gitster@xxxxxxxxx> writes: > Matthieu Moy <Matthieu.Moy@xxxxxxx> writes: > >> Except for the broken-ness, this adds the last line in the warning message: > > Hmm? What brokenness? The brokenness of my previous iteration. >> + "To chose either option permanently, read about push.default in git-config(1)\n"), > > Nice ;-) But as Jeff pointed out, this should be displayed only if the option hasn't been set explicitely. > I think SIMPLE should come between CURRENT and UPSTREAM in the order of > logical progression, i.e. CURRENT < SIMPLE < UPSTREAM, I disagree. There's actually a partial order with SIMPLE < CURRENT, SIMPLE < UPSTREAM, and CURRENT not comparable with UPSTREAM. Any successfull push with SIMPLE would have done exactly the same thing for either CURRENT and UPSTREAM. > SIMPLE is a bit more advanced (you can take advantage of > @{upstream}) You don't really "take advantage of @{upstream}". You just get suspicious pushes denied. -- Matthieu Moy http://www-verimag.imag.fr/~moy/ -- 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