diff options
author | Mike Frysinger <vapier@google.com> | 2019-08-01 18:57:10 -0400 |
---|---|---|
committer | Jonathan Nieder <jrn@google.com> | 2019-08-02 04:21:40 +0000 |
commit | 50d27639b5df7cfa2488ee59e23f1e3fad8ae8cc (patch) | |
tree | 90bbadefd3f7334788677eb55aabde738861f1fb /docs | |
parent | c5b172ad6f65e573193a555806bd912b2582ab56 (diff) | |
download | git-repo-50d27639b5df7cfa2488ee59e23f1e3fad8ae8cc.tar.gz |
manifest-format: document implicit directory creation w/<copyfile> & <linkfile>
Bug: https://crbug.com/gerrit/11218
Change-Id: Ie96b4c484d9fbfd550c580c3d02971dc088dd8b0
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/233052
Reviewed-by: David Pursehouse <dpursehouse@collab.net>
Tested-by: Jonathan Nieder <jrn@google.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/manifest-format.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/manifest-format.md b/docs/manifest-format.md index 92d659f1..93d9b960 100644 --- a/docs/manifest-format.md +++ b/docs/manifest-format.md | |||
@@ -330,6 +330,8 @@ client is not allowed. | |||
330 | "src" and "dest" must be files. Directories or symlinks are not allowed. | 330 | "src" and "dest" must be files. Directories or symlinks are not allowed. |
331 | Intermediate paths must not be symlinks either. | 331 | Intermediate paths must not be symlinks either. |
332 | 332 | ||
333 | Parent directories of "dest" will be automatically created if missing. | ||
334 | |||
333 | ### Element linkfile | 335 | ### Element linkfile |
334 | 336 | ||
335 | It's just like copyfile and runs at the same time as copyfile but | 337 | It's just like copyfile and runs at the same time as copyfile but |
@@ -338,6 +340,8 @@ instead of copying it creates a symlink. | |||
338 | The symlink is created at "dest" (relative to the top of the tree) and | 340 | The symlink is created at "dest" (relative to the top of the tree) and |
339 | points to the path specified by "src". | 341 | points to the path specified by "src". |
340 | 342 | ||
343 | Parent directories of "dest" will be automatically created if missing. | ||
344 | |||
341 | The symlink target may be a file or directory, but it may not point outside | 345 | The symlink target may be a file or directory, but it may not point outside |
342 | of the repo client. | 346 | of the repo client. |
343 | 347 | ||