From 9efcdba0d59a95d9c5ddd9c32f7870ac2183c5ea Mon Sep 17 00:00:00 2001 From: Luke Elliott Date: Sun, 10 Jan 2021 11:57:59 +0000 Subject: Allow '//' as project function id due to git bash path conversion. See https://stackoverflow.com/questions/54258996/git-bash-string-parameter-with-at-start-is-being-expanded-to-a-file-path --- docs/markdown/snippets/rewrite_allow_double_slash_project_id.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 docs/markdown/snippets/rewrite_allow_double_slash_project_id.md (limited to 'docs/markdown/snippets') diff --git a/docs/markdown/snippets/rewrite_allow_double_slash_project_id.md b/docs/markdown/snippets/rewrite_allow_double_slash_project_id.md new file mode 100644 index 0000000..9448ce6 --- /dev/null +++ b/docs/markdown/snippets/rewrite_allow_double_slash_project_id.md @@ -0,0 +1,7 @@ +## `//` is now allowed as a function id for `meson rewrite`. + +msys bash may expand `/` to a path, breaking +`meson rewrite kwargs set project / ...`. Passing `//` will be converted to +`/` by msys bash but in order to keep usage shell-agnostic, also allow `//` +as the id such that `meson rewrite kwargs set project // ...` will work in +both msys bash and other shells. -- cgit v1.1