Junio C Hamano <gitster@xxxxxxxxx> writes: > The "update" field in "struct ref" is only used in a very narrow > scope in a single function. Remove it. > > Also simplify the code that rejects an attempted push by first > checking if the proposed update is forced (in which case we do not > need any check on our end). Actually, the latter is a bad idea; it changes the semantics and mark a push that was done with an unnecessary --force option. I'm rerolling these three patches (the "update" removal will also be moved to the preparatory clean-up patch). -- 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