From 0e22c2c2261683a86619b1d715e497339f98a362 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Fri, 6 May 2022 12:10:20 +0200 Subject: Built-in "to_subdir": interpret input keys as path ... and detect conflicts araising this way. Also normalize the paths after staging them to the specified subdir. --- doc/concepts/expressions.org | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'doc/concepts') diff --git a/doc/concepts/expressions.org b/doc/concepts/expressions.org index c8d2a9a5..50737413 100644 --- a/doc/concepts/expressions.org +++ b/doc/concepts/expressions.org @@ -255,7 +255,10 @@ those) argument(s) to obtain the final result. ~"subdir"~ argument and the base name of the old key. It is an error if conflicts occur in this way; in case of such a user error, the argument ~"msg"~ is also evaluated and the result - of that evaluatino reported in the error message. + of that evaluation reported in the error message. Note that + conflicts can also occur in non-flat staging if two keys are + different as strings, but name the same path (like ~"foo.txt"~ + and ~"./foo.txt"~), and are assigned different values. ***** Binary functions -- cgit v1.2.3