git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] setup_git_directory: Setup cwd properly if worktree is found

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Nov 27, 2007, 14:46 UTC
Message-ID
<Pine.LNX.4.64.0711271446080.27959@racer.site>
In-Reply-To
<fcaeb9bf0711270612p52ce20eaue39eac1d529c3fd3@mail.gmail.com>
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
 
Previous: Nguyen Thai Ngoc Duy
Message 6 of 6 in “setup_git_directory: Setup cwd properly if worktree is found”
  1. setup_git_directory: Setup cwd properly if worktree is foundNguyễn Thái Ngọc Duy, Nov 12, 2007
  2. Johannes SchindelinNov 12, 2007
  3. Johannes SixtNov 12, 2007
  4. Johannes SchindelinNov 12, 2007
  5. Nguyen Thai Ngoc DuyNov 27, 2007
  6. Johannes SchindelinNov 27, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.