Merge branch 'jc/push-reject-reasons'
authorJunio C Hamano <gitster@pobox.com>
Mon, 4 Feb 2013 18:25:04 +0000 (10:25 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 4 Feb 2013 18:25:04 +0000 (10:25 -0800)
commit370855e967e21d9c5b70df7b5cd3756c7bed5c7c
tree80d1f70f82ec587ca4919d2289d6087d4979009c
parent099ba556d05571001293c8eda10a4fc659f83f48
parentb4cf8db27502f613fcff3fd871c8e31d23f49c7d
Merge branch 'jc/push-reject-reasons'

Improve error and advice messages given locally when "git push"
refuses when it cannot compute fast-forwardness by separating these
cases from the normal "not a fast-forward; merge first and push
again" case.

* jc/push-reject-reasons:
  push: finishing touches to explain REJECT_ALREADY_EXISTS better
  push: introduce REJECT_FETCH_FIRST and REJECT_NEEDS_FORCE
  push: further simplify the logic to assign rejection reason
  push: further clean up fields of "struct ref"
Documentation/config.txt
builtin/push.c
cache.h
remote.c
transport.c
transport.h