threads / patch / 41234

patchConsistent usage of working tree in the git-add help

Subject: [PATCH] Consistent usage of working tree in the git-add help

## tl;dr

One message between Jan 21, 2016 and Jan 21, 2016. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Lars Vogel· Jan 21, 2016, 10:09 UTC · lore

The usage of working directory is inconsistent in the git add help. Also http://git-scm.com/docs/git-clone speaks only about working tree. Remaining entry found by "git grep -B1 '^directory' git-add.txt" really relates to a directory.

Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
---
 Documentation/git-add.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to Documentation/git-add.txt +1 −1
diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
index fe5282f..6a96a66 100644
--- a/Documentation/git-add.txt
+++ b/Documentation/git-add.txt
@@ -24,7 +24,7 @@ remove paths that do not exist in the working tree anymore.
 
 The "index" holds a snapshot of the content of the working tree, and it
 is this snapshot that is taken as the contents of the next commit.  Thus
-after making any changes to the working directory, and before running
+after making any changes to the working tree, and before running
 the commit command, you must use the `add` command to add any new or
 modified files to the index.
 
-- 
2.7.0

← back to recent threads