git-commit.txt - mention that files listed on the command line must be known to git.
authorMark Burton <markb@ordern.com>
Tue, 18 Nov 2008 22:33:44 +0000 (22:33 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 19 Nov 2008 00:15:12 +0000 (16:15 -0800)
Signed-off-by: Mark Burton <markb@ordern.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-commit.txt
index 2e62165fa9f48e1bff506b75895c081eb922b4ec..a1ce9a8bf76bafa1bb82d1d9a7d5eeb50d575ef6 100644 (file)
@@ -29,7 +29,8 @@ The content to be added can be specified in several ways:
 
 3. by listing files as arguments to the 'commit' command, in which
    case the commit will ignore changes staged in the index, and instead
 
 3. by listing files as arguments to the 'commit' command, in which
    case the commit will ignore changes staged in the index, and instead
-   record the current content of the listed files;
+   record the current content of the listed files (which must already
+   be known to git);
 
 4. by using the -a switch with the 'commit' command to automatically
    "add" changes from all known files (i.e. all files that are already
 
 4. by using the -a switch with the 'commit' command to automatically
    "add" changes from all known files (i.e. all files that are already