From: Johannes Schindelin Date: Tue, 27 Nov 2007 14:46:39 GMT Subject: Re: [PATCH] setup_git_directory: Setup cwd properly if worktree is found Message-ID: In-Reply-To: Hi, On Tue, 27 Nov 2007, Nguyen Thai Ngoc Duy wrote: > 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