summaryrefslogtreecommitdiffstats
path: root/docs/manifest-format.md
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2019-08-01 18:57:10 -0400
committerJonathan Nieder <jrn@google.com>2019-08-02 04:21:40 +0000
commit50d27639b5df7cfa2488ee59e23f1e3fad8ae8cc (patch)
tree90bbadefd3f7334788677eb55aabde738861f1fb /docs/manifest-format.md
parentc5b172ad6f65e573193a555806bd912b2582ab56 (diff)
downloadgit-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/manifest-format.md')
-rw-r--r--docs/manifest-format.md4
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.
331Intermediate paths must not be symlinks either. 331Intermediate paths must not be symlinks either.
332 332
333Parent directories of "dest" will be automatically created if missing.
334
333### Element linkfile 335### Element linkfile
334 336
335It's just like copyfile and runs at the same time as copyfile but 337It's just like copyfile and runs at the same time as copyfile but
@@ -338,6 +340,8 @@ instead of copying it creates a symlink.
338The symlink is created at "dest" (relative to the top of the tree) and 340The symlink is created at "dest" (relative to the top of the tree) and
339points to the path specified by "src". 341points to the path specified by "src".
340 342
343Parent directories of "dest" will be automatically created if missing.
344
341The symlink target may be a file or directory, but it may not point outside 345The symlink target may be a file or directory, but it may not point outside
342of the repo client. 346of the repo client.
343 347