Skip to content

Commit 30221a3

Browse files
Andreas G. Schackergitster
authored andcommitted
doc/read-tree: remove obsolete remark
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 27dea46 commit 30221a3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Documentation/git-read-tree.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,11 @@ OPTIONS
8181
* when both sides add a path identically. The resolution
8282
is to add that path.
8383

84-
--prefix=<prefix>/::
84+
--prefix=<prefix>::
8585
Keep the current index contents, and read the contents
8686
of the named tree-ish under the directory at `<prefix>`.
8787
The command will refuse to overwrite entries that already
88-
existed in the original index file. Note that the `<prefix>/`
89-
value must end with a slash.
88+
existed in the original index file.
9089

9190
--exclude-per-directory=<gitignore>::
9291
When running the command with `-u` and `-m` options, the

0 commit comments

Comments
 (0)