Move deny_non_fast_forwards handling completely into receive-pack.
authorShawn Pearce <spearce@spearce.org>
Mon, 30 Oct 2006 22:35:18 +0000 (17:35 -0500)
committerJunio C Hamano <junkio@cox.net>
Tue, 31 Oct 2006 03:35:16 +0000 (19:35 -0800)
commit6fb75bed5c4a6ce099a24e581ea327e9de3ab8b0
treec110b1b0d4a2d4a6bdaf4d957d9da9b6115b1efb
parent79a65697be00f3b53430930078a7d34b591d5070
Move deny_non_fast_forwards handling completely into receive-pack.

The 'receive.denynonfastforwards' option has nothing to do with
the repository format version.  Since receive-pack already uses
git_config to initialize itself before executing any updates we
can use the normal configuration strategy and isolate the receive
specific variables away from the core variables.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
cache.h
environment.c
receive-pack.c
setup.c