Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH 3/3] push: further reduce "struct ref" and simplify the logic

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:55:51

Junio C Hamano [off-list ref] 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).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help