Re: [PATCH] setup_git_directory: Setup cwd properly if worktree is found
Hi,
On Tue, 27 Nov 2007, Nguyen Thai Ngoc Duy wrote:
Show 5 quoted lines
> Question time. setup_git_directory_gently() can be happy even if there
> is no repository. Now if we move version check into setup_..._gently and
> it finds git program is too old to handle the repository, what would we
> do? die() like in check_repository_format() or tell the caller there is
> no repository?
In the interest of least surprise, die().
Ciao,
Dscho