From 50d27639b5df7cfa2488ee59e23f1e3fad8ae8cc Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 1 Aug 2019 18:57:10 -0400 Subject: [PATCH] manifest-format: document implicit directory creation w/ & Bug: https://crbug.com/gerrit/11218 Change-Id: Ie96b4c484d9fbfd550c580c3d02971dc088dd8b0 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/233052 Reviewed-by: David Pursehouse Tested-by: Jonathan Nieder --- docs/manifest-format.md | 4 ++++ 1 file changed, 4 insertions(+) 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. "src" and "dest" must be files. Directories or symlinks are not allowed. Intermediate paths must not be symlinks either. +Parent directories of "dest" will be automatically created if missing. + ### Element linkfile 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. The symlink is created at "dest" (relative to the top of the tree) and points to the path specified by "src". +Parent directories of "dest" will be automatically created if missing. + The symlink target may be a file or directory, but it may not point outside of the repo client.