From: Elijah Newren Date: Wed, 20 Feb 2019 22:58:43 +0000 (-0800) Subject: git-fast-import.txt: fix wording about where ls command can appear X-Git-Tag: v2.22.0-rc0~59^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a63c54a019138c7aaa4624f48284722664428b15;p=thirdparty%2Fgit.git git-fast-import.txt: fix wording about where ls command can appear The docs claimed `ls` commands could appear almost anywhere, but the code told a different story. Modify the docs to match the code. Signed-off-by: Elijah Newren Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-fast-import.txt b/Documentation/git-fast-import.txt index 339b6e7e98..f7e2d330b1 100644 --- a/Documentation/git-fast-import.txt +++ b/Documentation/git-fast-import.txt @@ -1016,8 +1016,8 @@ printing a blob from the active commit (with `cat-blob`) or copying a blob or tree from a previous commit for use in the current one (with `filemodify`). -The `ls` command can be used anywhere in the stream that comments are -accepted, including the middle of a commit. +The `ls` command can also be used where a `filemodify` directive can +appear, allowing it to be used in the middle of a commit. Reading from the active commit:: This form can only be used in the middle of a `commit`.