diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2007-12-05 20:33:32 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-12-05 15:06:37 -0800 |
commit | 9459aa77a032621a29d53605542844641cca843a (patch) | |
tree | 01293ba54d1d3ed3a0d90c0f6f5a604c8dc479b6 /git-cvsserver.perl | |
parent | 138dd1e990cef5ac0176426016ad5e1f8e5dff58 (diff) | |
download | git-9459aa77a032621a29d53605542844641cca843a.tar.gz |
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>
Diffstat (limited to 'git-cvsserver.perl')
0 files changed, 0 insertions, 0 deletions