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

Re: [PATCH] contrib/workdir: add a simple script to create a working directory

From
ELEric Lesh <eclesh@ucla.edu>
Date
Mar 27, 2007, 13:50 UTC
Message-ID
<1175003418.6140.7.camel@localhost>
In-Reply-To
<Pine.LNX.4.64.0703271356590.1024@reaper.quantumfyre.co.uk>
On Tue, 2007-03-27 at 13:59 +0100, Julian Phillips wrote:
Show 8 quoted lines
> > Shouldn't this be made to work with bare repositories as well?
> 
> I guess that depends ...
> 
> There's probably no reason that it couldn't, but it wasn't something that 
> I was interested in seeing it do.  I don't have any bare repositories on 
> my development machine, and don't anticipate having any in the future.
> 

Also, the symlinked config file will have core.bare = true, which will make anything with require_work_tree refuse to run. (Unless git-sh-setup's is_bare_repository was made to look for .git first, then check for core.bare. But that is probably useless.)

You're right in that there may not be many use cases for this. Sorry for the noise.

-Eric
Previous: Julian PhillipsNext: Junio C Hamano
Message 7 of 9 in “contrib/workdir: add a simple script to create a working directory”
  1. contrib/workdir: add a simple script to create a working directoryJulian Phillips, Mar 26, 2007
  2. Junio C HamanoMar 26, 2007
  3. contrib/workdir: add a simple script to create a working directoryJulian Phillips, Mar 26, 2007
  4. Eric LeshMar 27, 2007
  5. Junio C HamanoMar 27, 2007
  6. Julian PhillipsMar 27, 2007
  7. Eric LeshMar 27, 2007
  8. Junio C HamanoMar 27, 2007
  9. contrib/workdir: add a simple script to create a working directoryJulian Phillips, Mar 26, 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.