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

Re: [PATCH] Documentation: read-tree consistent usage of working tree

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 25, 2015, 16:31 UTC
Message-ID
<xmqqpp2b1ga7.fsf@gitster.dls.corp.google.com>
In-Reply-To
<1439841979-27110-1-git-send-email-Lars.Vogel@vogella.com>
Lars Vogel <lars.vogel@vogella.com> writes:
> http://git-scm.com/docs/git-clone speaks only about working tree, the
> usage of "working directory" for working tree is confusing. Working
> directory describes the current directory while working tree describes
> all files and sub directories.

Actually I think the $cwd is the "Current working directory"; the phrase "Working directory" alone does not specifically refer to $cwd.

Being consistent to call the checked out file hierarchy "working tree" is probably a good idea nevertheless.

> Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
> ---
If you apply this patch and then run
    $ git grep -B1 '^directory' Documentation/git-read-tree.txt
you would notice that the patch has missed a few more.
Also
    $ git grep 'work tree' Documentation/git-read-tree.txt
has a handful of hits.
Perhaps try again?
Thanks.
Previous: Lars Vogel
Message 2 of 2 in “Documentation: read-tree consistent usage of working tree”
  1. Documentation: read-tree consistent usage of working treeLars Vogel, Aug 17, 2015
  2. Junio C HamanoAug 25, 2015

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.