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

Re: Worktree vs. working copy

From
Michael Haggerty <mhagger@alum.mit.edu>
Date
Sep 20, 2011, 10:39 UTC
Message-ID
<4E786D7A.8020503@alum.mit.edu>
In-Reply-To
<1316505022.13996.12.camel@bee.lab.cmartin.tk>
On 09/20/2011 09:50 AM, Carlos Martín Nieto wrote:
Show 8 quoted lines
> I've noticed that in some places in git.git, the term 'working copy' is
> used. Mostly it's in git-cvsserver which I guess it's fine, but the
> git-config man page talks about the 'working copy' in three places.
> 
>     $ git grep 'worktree' | wc -l
>     412
>     $ git grep 'working copy' | grep -v ^git-cvsserver |  wc -l
>     32

Please note that the string "worktree" mostly appears in code (presumably as variable names) and in the names of options. In text, "working tree" is far more common than either:

$ git grep -i 'worktree' -- '*.txt' | wc -l 50 $ git grep -i 'working copy' -- '*.txt' | wc -l 6 $ git grep -i 'working tree' -- '*.txt' | wc -l 330

Michael
-- 
Michael Haggerty
mhagger@alum.mit.edu
http://softwareswirl.blogspot.com/
Previous: Carlos Martín NietoNext: Nguyen Thai Ngoc Duy
Message 2 of 7 in “Worktree vs. working copy”
  1. Carlos Martín NietoSep 20, 2011
  2. Michael HaggertySep 20, 2011
  3. Nguyen Thai Ngoc DuySep 20, 2011
  4. Ramkumar RamachandraSep 20, 2011
  5. Junio C HamanoSep 20, 2011
  6. Carlos Martín NietoSep 20, 2011
  7. Junio C HamanoSep 20, 2011

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.