push: return reject reasons as a bitset
authorChris Rorvick <chris@rorvick.com>
Fri, 30 Nov 2012 01:41:33 +0000 (19:41 -0600)
committerJunio C Hamano <gitster@pobox.com>
Sun, 2 Dec 2012 09:37:20 +0000 (01:37 -0800)
commit10643d4ec3b9c5898d93d1c20e98b2ff1906bf79
treea0ce129a944ff6a088807e0bc4d5de5b4838dab7
parentb0b00a3ee43b4813eb85728a482500f6422499fd
push: return reject reasons as a bitset

Pass all rejection reasons back from transport_push().  The logic is
simpler and more flexible with regard to providing useful feedback.

Signed-off-by: Chris Rorvick <chris@rorvick.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/push.c
builtin/send-pack.c
transport.c
transport.h