commit | 9459aa77a032621a29d53605542844641cca843a | [log] [tgz] |
---|---|---|
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | Wed Dec 05 20:33:32 2007 +0700 |
committer | Junio C Hamano <gitster@pobox.com> | Wed Dec 05 15:06:37 2007 -0800 |
tree | 01293ba54d1d3ed3a0d90c0f6f5a604c8dc479b6 | |
parent | 138dd1e990cef5ac0176426016ad5e1f8e5dff58 [diff] |
Do check_repository_format() early (re-fix) This pushes check_repository_format() (actually _gently() version) to setup_git_directory_gently() in order to prevent from using unsupported repositories. New setup_git_directory_gently()'s behaviour is stop searching for a valid gitdir and return as if there is no gitdir if a unsupported repository is found. Warning will be thrown in these cases. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>