aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2020-03-01 18:17:41 +0200
committerGitHub <noreply@github.com>2020-03-01 18:17:41 +0200
commit25cbcb19a9208ebf8f5cde3f8ecb91df0a2dfebf (patch)
treecf29f0c60ac4014b9395edbe2a9c3efdad449291 /docs
parent74452f2a1c842291c893504876507946103ac77f (diff)
parent96f661e15046a4222fd01a7216e18de901b73cb6 (diff)
downloadmeson-25cbcb19a9208ebf8f5cde3f8ecb91df0a2dfebf.zip
meson-25cbcb19a9208ebf8f5cde3f8ecb91df0a2dfebf.tar.gz
meson-25cbcb19a9208ebf8f5cde3f8ecb91df0a2dfebf.tar.bz2
Merge pull request #6627 from jon-turney/cwd-relative-file-locations
Consistently report file locations relative to cwd
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/snippets/consistent_file_locations.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/markdown/snippets/consistent_file_locations.md b/docs/markdown/snippets/consistent_file_locations.md
new file mode 100644
index 0000000..5f384fe
--- /dev/null
+++ b/docs/markdown/snippets/consistent_file_locations.md
@@ -0,0 +1,9 @@
+## Consistently report file locations relative to cwd
+
+The paths for filenames in error and warning locations are now consistently
+reported relative to the current working directory (when possible), or as
+absolute paths (when a relative path does not exist, e.g. a Windows path
+starting with a different drive letter to the current working directory).
+
+(The previous behaviour was to report a path relative to the source root for all
+warnings and most errors, and relative to cwd for certain parser errors)