]> git.ipfire.org Git - thirdparty/git.git/commitdiff
git-add doc: do not say working directory when you mean working tree
authorLars Vogel <lars.vogel@gmail.com>
Thu, 21 Jan 2016 10:09:15 +0000 (11:09 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 21 Jan 2016 17:06:35 +0000 (09:06 -0800)
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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-add.txt

index fe5282f1305902545eaff585ced432d296dd64f4..6a96a669c299ebd0408d3a1e34d8e42541f3a9e8 100644 (file)
@@ -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.