doc/read-tree: remove obsolete remark
authorAndreas G. Schacker <andreas.schacker@gmail.com>
Tue, 9 Jan 2018 15:30:34 +0000 (16:30 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 9 Jan 2018 19:37:09 +0000 (11:37 -0800)
Earlier versions of `git read-tree` required the `--prefix` option value
to end with a slash. This restriction was eventually lifted without a
corresponding amendment to the documentation.

Signed-off-by: Andreas G. Schacker <andreas.schacker@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-read-tree.txt
index fa1d557e5b98eb6dc40e3baa65964138b4cc0621..a34190bb889abcaf12c24e739115d79b6347be83 100644 (file)
@@ -81,12 +81,11 @@ OPTIONS
 * when both sides add a path identically.  The resolution
   is to add that path.
 
---prefix=<prefix>/::
+--prefix=<prefix>::
        Keep the current index contents, and read the contents
        of the named tree-ish under the directory at `<prefix>`.
        The command will refuse to overwrite entries that already
-       existed in the original index file. Note that the `<prefix>/`
-       value must end with a slash.
+       existed in the original index file.
 
 --exclude-per-directory=<gitignore>::
        When running the command with `-u` and `-m` options, the