Check repository format version in enter_repo().
authorJunio C Hamano <junkio@cox.net>
Fri, 25 Nov 2005 18:48:26 +0000 (10:48 -0800)
committerJunio C Hamano <junkio@cox.net>
Sun, 27 Nov 2005 09:32:59 +0000 (01:32 -0800)
commit1644162ad53da1d0107c5c45c866e75ef95660bb
tree38d3ce153b14ab4561c2f48f30ce601b8933cc53
parentab9cb76f661c1794800361c27bc5a515245aaaef
Check repository format version in enter_repo().

After daemon, upload-pack and receive-pack find out where the
git directory is and chdir() there, make sure that repository is
in a format we understand, after putenv("GIT_DIR=.") so that it
knows to pick up the configuration file from there.

Signed-off-by: Junio C Hamano <junkio@cox.net>
path.c