push: flag updates that require force
authorChris Rorvick <chris@rorvick.com>
Fri, 30 Nov 2012 01:41:36 +0000 (19:41 -0600)
committerJunio C Hamano <gitster@pobox.com>
Sun, 2 Dec 2012 09:44:15 +0000 (01:44 -0800)
commit8c5f6f717d136c5a0e9d6d3879bf2a7bdeb42154
tree5679d8837348f4687f5b923933068ec98c7a10ba
parentffe81ef2ac5bcf83b9ab792e4d05ec95744a2fb6
push: flag updates that require force

Add a flag for indicating an update to a reference requires force.
Currently the `nonfastforward` flag is used for this when generating the
status message.  A separate flag insulates dependent logic from the
details of set_ref_status_for_push().

Signed-off-by: Chris Rorvick <chris@rorvick.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h
remote.c
transport.c