summaryrefslogtreecommitdiff
path: root/Documentation/git-read-tree.txt
diff options
context:
space:
mode:
authorAndreas G. Schacker <andreas.schacker@gmail.com>2018-01-09 15:30:34 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-01-09 19:37:09 (GMT)
commit30221a3389f4172940b774829c95927fe6a728e5 (patch)
tree6d14c4b2c618f65db4c7733765103df52b5875e9 /Documentation/git-read-tree.txt
parent27dea4683b608c5c0487dee74cbda13b62803b73 (diff)
downloadgit-30221a3389f4172940b774829c95927fe6a728e5.zip
git-30221a3389f4172940b774829c95927fe6a728e5.tar.gz
git-30221a3389f4172940b774829c95927fe6a728e5.tar.bz2
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 <andreas.schacker@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-read-tree.txt')
-rw-r--r--Documentation/git-read-tree.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/Documentation/git-read-tree.txt b/Documentation/git-read-tree.txt
index fa1d557..a34190b 100644
--- a/Documentation/git-read-tree.txt
+++ b/Documentation/git-read-tree.txt
@@ -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