Skip to content

Conversation

@dscho
Copy link
Member

@dscho dscho commented Apr 19, 2023

Once upon a time, Git for Windows had the need to specify paths in the config that are relative to the runtime prefix (i.e. relative to the location where Git for Windows happens to be installed). To support that, special handling was introduced to treat paths starting with a forward slash as relative to the runtime prefix. When trying to upstream this feature, it was determined that it is not portable enough, and it was deprecated in favor of the new strategy: starting paths with %(prefix)/ would indicate that they are relative to the runtime prefix.

After deprecating the "leading slash means relative to runtime prefix" feature in v2.34.0 (released November 15th, 2021), it is time to drop it. This reverts commit 28fdfd8 and addresses #4125, at long last.

After deprecating this in v2.34.0 (released November 15th, 2021), it is
time to drop it. This reverts commit 28fdfd8 (mingw: deprecate
old-style runtime-prefix handling in interpolate_path(), 2015-12-11).

Signed-off-by: Johannes Schindelin <[email protected]>
@dscho dscho self-assigned this Apr 19, 2023
@dscho dscho linked an issue Apr 19, 2023 that may be closed by this pull request
1 task
@dscho dscho changed the title Drop the old-style runtime-prefix handling in interpolate_path() Drop the old-style runtime-prefix handling in interpolate_path() Apr 19, 2023
@dscho dscho added this to the Next release milestone Apr 19, 2023
Copy link

@derrickstolee derrickstolee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've only hit this warning once, and it was because I was purposefully exploring the area around %(prefix).

@dscho dscho merged commit bc3743d into git-for-windows:main Apr 26, 2023
@dscho dscho deleted the drop-old-style-runtime-prefix-handling branch April 26, 2023 12:41
git-for-windows-ci pushed a commit that referenced this pull request Apr 26, 2023
…4389)

Once upon a time, Git for Windows had the need to specify paths in the
config that are relative to the runtime prefix (i.e. relative to the
location where Git for Windows happens to be installed). To support
that, special handling was introduced to treat paths starting with a
forward slash as relative to the runtime prefix. When trying to upstream
this feature, it was determined that it is not portable enough, and it
was deprecated in favor of the new strategy: starting paths with
`%(prefix)/` would indicate that they are relative to the runtime
prefix.

After deprecating the "leading slash means relative to runtime prefix"
feature in v2.34.0 (released November 15th, 2021), it is time to drop
it. This reverts commit 28fdfd8 and addresses
#4125, at long last.
git-for-windows-ci pushed a commit that referenced this pull request Apr 26, 2023
…4389)

Once upon a time, Git for Windows had the need to specify paths in the
config that are relative to the runtime prefix (i.e. relative to the
location where Git for Windows happens to be installed). To support
that, special handling was introduced to treat paths starting with a
forward slash as relative to the runtime prefix. When trying to upstream
this feature, it was determined that it is not portable enough, and it
was deprecated in favor of the new strategy: starting paths with
`%(prefix)/` would indicate that they are relative to the runtime
prefix.

After deprecating the "leading slash means relative to runtime prefix"
feature in v2.34.0 (released November 15th, 2021), it is time to drop
it. This reverts commit 28fdfd8 and addresses
#4125, at long last.
git-for-windows-ci pushed a commit that referenced this pull request Apr 26, 2023
…4389)

Once upon a time, Git for Windows had the need to specify paths in the
config that are relative to the runtime prefix (i.e. relative to the
location where Git for Windows happens to be installed). To support
that, special handling was introduced to treat paths starting with a
forward slash as relative to the runtime prefix. When trying to upstream
this feature, it was determined that it is not portable enough, and it
was deprecated in favor of the new strategy: starting paths with
`%(prefix)/` would indicate that they are relative to the runtime
prefix.

After deprecating the "leading slash means relative to runtime prefix"
feature in v2.34.0 (released November 15th, 2021), it is time to drop
it. This reverts commit 28fdfd8 and addresses
#4125, at long last.
git-for-windows-ci pushed a commit that referenced this pull request Apr 26, 2023
…4389)

Once upon a time, Git for Windows had the need to specify paths in the
config that are relative to the runtime prefix (i.e. relative to the
location where Git for Windows happens to be installed). To support
that, special handling was introduced to treat paths starting with a
forward slash as relative to the runtime prefix. When trying to upstream
this feature, it was determined that it is not portable enough, and it
was deprecated in favor of the new strategy: starting paths with
`%(prefix)/` would indicate that they are relative to the runtime
prefix.

After deprecating the "leading slash means relative to runtime prefix"
feature in v2.34.0 (released November 15th, 2021), it is time to drop
it. This reverts commit 28fdfd8 and addresses
#4125, at long last.
git-for-windows-ci pushed a commit that referenced this pull request Apr 26, 2023
…4389)

Once upon a time, Git for Windows had the need to specify paths in the
config that are relative to the runtime prefix (i.e. relative to the
location where Git for Windows happens to be installed). To support
that, special handling was introduced to treat paths starting with a
forward slash as relative to the runtime prefix. When trying to upstream
this feature, it was determined that it is not portable enough, and it
was deprecated in favor of the new strategy: starting paths with
`%(prefix)/` would indicate that they are relative to the runtime
prefix.

After deprecating the "leading slash means relative to runtime prefix"
feature in v2.34.0 (released November 15th, 2021), it is time to drop
it. This reverts commit 28fdfd8 and addresses
#4125, at long last.
git-for-windows-ci pushed a commit that referenced this pull request Apr 26, 2023
…4389)

Once upon a time, Git for Windows had the need to specify paths in the
config that are relative to the runtime prefix (i.e. relative to the
location where Git for Windows happens to be installed). To support
that, special handling was introduced to treat paths starting with a
forward slash as relative to the runtime prefix. When trying to upstream
this feature, it was determined that it is not portable enough, and it
was deprecated in favor of the new strategy: starting paths with
`%(prefix)/` would indicate that they are relative to the runtime
prefix.

After deprecating the "leading slash means relative to runtime prefix"
feature in v2.34.0 (released November 15th, 2021), it is time to drop
it. This reverts commit 28fdfd8 and addresses
#4125, at long last.
git-for-windows-ci pushed a commit that referenced this pull request Apr 26, 2023
…4389)

Once upon a time, Git for Windows had the need to specify paths in the
config that are relative to the runtime prefix (i.e. relative to the
location where Git for Windows happens to be installed). To support
that, special handling was introduced to treat paths starting with a
forward slash as relative to the runtime prefix. When trying to upstream
this feature, it was determined that it is not portable enough, and it
was deprecated in favor of the new strategy: starting paths with
`%(prefix)/` would indicate that they are relative to the runtime
prefix.

After deprecating the "leading slash means relative to runtime prefix"
feature in v2.34.0 (released November 15th, 2021), it is time to drop
it. This reverts commit 28fdfd8 and addresses
#4125, at long last.
git-for-windows-ci pushed a commit that referenced this pull request Apr 26, 2023
…4389)

Once upon a time, Git for Windows had the need to specify paths in the
config that are relative to the runtime prefix (i.e. relative to the
location where Git for Windows happens to be installed). To support
that, special handling was introduced to treat paths starting with a
forward slash as relative to the runtime prefix. When trying to upstream
this feature, it was determined that it is not portable enough, and it
was deprecated in favor of the new strategy: starting paths with
`%(prefix)/` would indicate that they are relative to the runtime
prefix.

After deprecating the "leading slash means relative to runtime prefix"
feature in v2.34.0 (released November 15th, 2021), it is time to drop
it. This reverts commit 28fdfd8 and addresses
#4125, at long last.
git-for-windows-ci pushed a commit that referenced this pull request Apr 27, 2023
…4389)

Once upon a time, Git for Windows had the need to specify paths in the
config that are relative to the runtime prefix (i.e. relative to the
location where Git for Windows happens to be installed). To support
that, special handling was introduced to treat paths starting with a
forward slash as relative to the runtime prefix. When trying to upstream
this feature, it was determined that it is not portable enough, and it
was deprecated in favor of the new strategy: starting paths with
`%(prefix)/` would indicate that they are relative to the runtime
prefix.

After deprecating the "leading slash means relative to runtime prefix"
feature in v2.34.0 (released November 15th, 2021), it is time to drop
it. This reverts commit 28fdfd8 and addresses
#4125, at long last.
git-for-windows-ci pushed a commit that referenced this pull request Apr 27, 2023
…4389)

Once upon a time, Git for Windows had the need to specify paths in the
config that are relative to the runtime prefix (i.e. relative to the
location where Git for Windows happens to be installed). To support
that, special handling was introduced to treat paths starting with a
forward slash as relative to the runtime prefix. When trying to upstream
this feature, it was determined that it is not portable enough, and it
was deprecated in favor of the new strategy: starting paths with
`%(prefix)/` would indicate that they are relative to the runtime
prefix.

After deprecating the "leading slash means relative to runtime prefix"
feature in v2.34.0 (released November 15th, 2021), it is time to drop
it. This reverts commit 28fdfd8 and addresses
#4125, at long last.
dscho added a commit that referenced this pull request Apr 28, 2023
…4389)

Once upon a time, Git for Windows had the need to specify paths in the
config that are relative to the runtime prefix (i.e. relative to the
location where Git for Windows happens to be installed). To support
that, special handling was introduced to treat paths starting with a
forward slash as relative to the runtime prefix. When trying to upstream
this feature, it was determined that it is not portable enough, and it
was deprecated in favor of the new strategy: starting paths with
`%(prefix)/` would indicate that they are relative to the runtime
prefix.

After deprecating the "leading slash means relative to runtime prefix"
feature in v2.34.0 (released November 15th, 2021), it is time to drop
it. This reverts commit 28fdfd8 and addresses
#4125, at long last.
git-for-windows-ci pushed a commit that referenced this pull request Apr 28, 2023
…4389)

Once upon a time, Git for Windows had the need to specify paths in the
config that are relative to the runtime prefix (i.e. relative to the
location where Git for Windows happens to be installed). To support
that, special handling was introduced to treat paths starting with a
forward slash as relative to the runtime prefix. When trying to upstream
this feature, it was determined that it is not portable enough, and it
was deprecated in favor of the new strategy: starting paths with
`%(prefix)/` would indicate that they are relative to the runtime
prefix.

After deprecating the "leading slash means relative to runtime prefix"
feature in v2.34.0 (released November 15th, 2021), it is time to drop
it. This reverts commit 28fdfd8 and addresses
#4125, at long last.
git-for-windows-ci pushed a commit that referenced this pull request Apr 28, 2023
…4389)

Once upon a time, Git for Windows had the need to specify paths in the
config that are relative to the runtime prefix (i.e. relative to the
location where Git for Windows happens to be installed). To support
that, special handling was introduced to treat paths starting with a
forward slash as relative to the runtime prefix. When trying to upstream
this feature, it was determined that it is not portable enough, and it
was deprecated in favor of the new strategy: starting paths with
`%(prefix)/` would indicate that they are relative to the runtime
prefix.

After deprecating the "leading slash means relative to runtime prefix"
feature in v2.34.0 (released November 15th, 2021), it is time to drop
it. This reverts commit 28fdfd8 and addresses
#4125, at long last.
git-for-windows-ci pushed a commit that referenced this pull request Apr 28, 2023
…4389)

Once upon a time, Git for Windows had the need to specify paths in the
config that are relative to the runtime prefix (i.e. relative to the
location where Git for Windows happens to be installed). To support
that, special handling was introduced to treat paths starting with a
forward slash as relative to the runtime prefix. When trying to upstream
this feature, it was determined that it is not portable enough, and it
was deprecated in favor of the new strategy: starting paths with
`%(prefix)/` would indicate that they are relative to the runtime
prefix.

After deprecating the "leading slash means relative to runtime prefix"
feature in v2.34.0 (released November 15th, 2021), it is time to drop
it. This reverts commit 28fdfd8 and addresses
#4125, at long last.
git-for-windows-ci pushed a commit that referenced this pull request May 1, 2023
…4389)

Once upon a time, Git for Windows had the need to specify paths in the
config that are relative to the runtime prefix (i.e. relative to the
location where Git for Windows happens to be installed). To support
that, special handling was introduced to treat paths starting with a
forward slash as relative to the runtime prefix. When trying to upstream
this feature, it was determined that it is not portable enough, and it
was deprecated in favor of the new strategy: starting paths with
`%(prefix)/` would indicate that they are relative to the runtime
prefix.

After deprecating the "leading slash means relative to runtime prefix"
feature in v2.34.0 (released November 15th, 2021), it is time to drop
it. This reverts commit 28fdfd8 and addresses
#4125, at long last.
git-for-windows-ci pushed a commit that referenced this pull request May 1, 2023
…4389)

Once upon a time, Git for Windows had the need to specify paths in the
config that are relative to the runtime prefix (i.e. relative to the
location where Git for Windows happens to be installed). To support
that, special handling was introduced to treat paths starting with a
forward slash as relative to the runtime prefix. When trying to upstream
this feature, it was determined that it is not portable enough, and it
was deprecated in favor of the new strategy: starting paths with
`%(prefix)/` would indicate that they are relative to the runtime
prefix.

After deprecating the "leading slash means relative to runtime prefix"
feature in v2.34.0 (released November 15th, 2021), it is time to drop
it. This reverts commit 28fdfd8 and addresses
#4125, at long last.
git-for-windows-ci pushed a commit that referenced this pull request May 1, 2023
…4389)

Once upon a time, Git for Windows had the need to specify paths in the
config that are relative to the runtime prefix (i.e. relative to the
location where Git for Windows happens to be installed). To support
that, special handling was introduced to treat paths starting with a
forward slash as relative to the runtime prefix. When trying to upstream
this feature, it was determined that it is not portable enough, and it
was deprecated in favor of the new strategy: starting paths with
`%(prefix)/` would indicate that they are relative to the runtime
prefix.

After deprecating the "leading slash means relative to runtime prefix"
feature in v2.34.0 (released November 15th, 2021), it is time to drop
it. This reverts commit 28fdfd8 and addresses
#4125, at long last.
dscho added a commit that referenced this pull request May 2, 2023
…4389)

Once upon a time, Git for Windows had the need to specify paths in the
config that are relative to the runtime prefix (i.e. relative to the
location where Git for Windows happens to be installed). To support
that, special handling was introduced to treat paths starting with a
forward slash as relative to the runtime prefix. When trying to upstream
this feature, it was determined that it is not portable enough, and it
was deprecated in favor of the new strategy: starting paths with
`%(prefix)/` would indicate that they are relative to the runtime
prefix.

After deprecating the "leading slash means relative to runtime prefix"
feature in v2.34.0 (released November 15th, 2021), it is time to drop
it. This reverts commit 28fdfd8 and addresses
#4125, at long last.
git-for-windows-ci pushed a commit that referenced this pull request May 2, 2023
…4389)

Once upon a time, Git for Windows had the need to specify paths in the
config that are relative to the runtime prefix (i.e. relative to the
location where Git for Windows happens to be installed). To support
that, special handling was introduced to treat paths starting with a
forward slash as relative to the runtime prefix. When trying to upstream
this feature, it was determined that it is not portable enough, and it
was deprecated in favor of the new strategy: starting paths with
`%(prefix)/` would indicate that they are relative to the runtime
prefix.

After deprecating the "leading slash means relative to runtime prefix"
feature in v2.34.0 (released November 15th, 2021), it is time to drop
it. This reverts commit 28fdfd8 and addresses
#4125, at long last.
git-for-windows-ci pushed a commit that referenced this pull request May 2, 2023
…4389)

Once upon a time, Git for Windows had the need to specify paths in the
config that are relative to the runtime prefix (i.e. relative to the
location where Git for Windows happens to be installed). To support
that, special handling was introduced to treat paths starting with a
forward slash as relative to the runtime prefix. When trying to upstream
this feature, it was determined that it is not portable enough, and it
was deprecated in favor of the new strategy: starting paths with
`%(prefix)/` would indicate that they are relative to the runtime
prefix.

After deprecating the "leading slash means relative to runtime prefix"
feature in v2.34.0 (released November 15th, 2021), it is time to drop
it. This reverts commit 28fdfd8 and addresses
#4125, at long last.
git-for-windows-ci pushed a commit that referenced this pull request May 3, 2023
…4389)

Once upon a time, Git for Windows had the need to specify paths in the
config that are relative to the runtime prefix (i.e. relative to the
location where Git for Windows happens to be installed). To support
that, special handling was introduced to treat paths starting with a
forward slash as relative to the runtime prefix. When trying to upstream
this feature, it was determined that it is not portable enough, and it
was deprecated in favor of the new strategy: starting paths with
`%(prefix)/` would indicate that they are relative to the runtime
prefix.

After deprecating the "leading slash means relative to runtime prefix"
feature in v2.34.0 (released November 15th, 2021), it is time to drop
it. This reverts commit 28fdfd8 and addresses
#4125, at long last.
git-for-windows-ci pushed a commit that referenced this pull request May 3, 2023
…4389)

Once upon a time, Git for Windows had the need to specify paths in the
config that are relative to the runtime prefix (i.e. relative to the
location where Git for Windows happens to be installed). To support
that, special handling was introduced to treat paths starting with a
forward slash as relative to the runtime prefix. When trying to upstream
this feature, it was determined that it is not portable enough, and it
was deprecated in favor of the new strategy: starting paths with
`%(prefix)/` would indicate that they are relative to the runtime
prefix.

After deprecating the "leading slash means relative to runtime prefix"
feature in v2.34.0 (released November 15th, 2021), it is time to drop
it. This reverts commit 28fdfd8 and addresses
#4125, at long last.
git-for-windows-ci pushed a commit that referenced this pull request May 3, 2023
…4389)

Once upon a time, Git for Windows had the need to specify paths in the
config that are relative to the runtime prefix (i.e. relative to the
location where Git for Windows happens to be installed). To support
that, special handling was introduced to treat paths starting with a
forward slash as relative to the runtime prefix. When trying to upstream
this feature, it was determined that it is not portable enough, and it
was deprecated in favor of the new strategy: starting paths with
`%(prefix)/` would indicate that they are relative to the runtime
prefix.

After deprecating the "leading slash means relative to runtime prefix"
feature in v2.34.0 (released November 15th, 2021), it is time to drop
it. This reverts commit 28fdfd8 and addresses
#4125, at long last.
git-for-windows-ci pushed a commit that referenced this pull request May 3, 2023
…4389)

Once upon a time, Git for Windows had the need to specify paths in the
config that are relative to the runtime prefix (i.e. relative to the
location where Git for Windows happens to be installed). To support
that, special handling was introduced to treat paths starting with a
forward slash as relative to the runtime prefix. When trying to upstream
this feature, it was determined that it is not portable enough, and it
was deprecated in favor of the new strategy: starting paths with
`%(prefix)/` would indicate that they are relative to the runtime
prefix.

After deprecating the "leading slash means relative to runtime prefix"
feature in v2.34.0 (released November 15th, 2021), it is time to drop
it. This reverts commit 28fdfd8 and addresses
#4125, at long last.
git-for-windows-ci pushed a commit that referenced this pull request May 5, 2023
…4389)

Once upon a time, Git for Windows had the need to specify paths in the
config that are relative to the runtime prefix (i.e. relative to the
location where Git for Windows happens to be installed). To support
that, special handling was introduced to treat paths starting with a
forward slash as relative to the runtime prefix. When trying to upstream
this feature, it was determined that it is not portable enough, and it
was deprecated in favor of the new strategy: starting paths with
`%(prefix)/` would indicate that they are relative to the runtime
prefix.

After deprecating the "leading slash means relative to runtime prefix"
feature in v2.34.0 (released November 15th, 2021), it is time to drop
it. This reverts commit 28fdfd8 and addresses
#4125, at long last.
git-for-windows-ci pushed a commit that referenced this pull request May 5, 2023
…4389)

Once upon a time, Git for Windows had the need to specify paths in the
config that are relative to the runtime prefix (i.e. relative to the
location where Git for Windows happens to be installed). To support
that, special handling was introduced to treat paths starting with a
forward slash as relative to the runtime prefix. When trying to upstream
this feature, it was determined that it is not portable enough, and it
was deprecated in favor of the new strategy: starting paths with
`%(prefix)/` would indicate that they are relative to the runtime
prefix.

After deprecating the "leading slash means relative to runtime prefix"
feature in v2.34.0 (released November 15th, 2021), it is time to drop
it. This reverts commit 28fdfd8 and addresses
#4125, at long last.
git-for-windows-ci pushed a commit that referenced this pull request May 5, 2023
…4389)

Once upon a time, Git for Windows had the need to specify paths in the
config that are relative to the runtime prefix (i.e. relative to the
location where Git for Windows happens to be installed). To support
that, special handling was introduced to treat paths starting with a
forward slash as relative to the runtime prefix. When trying to upstream
this feature, it was determined that it is not portable enough, and it
was deprecated in favor of the new strategy: starting paths with
`%(prefix)/` would indicate that they are relative to the runtime
prefix.

After deprecating the "leading slash means relative to runtime prefix"
feature in v2.34.0 (released November 15th, 2021), it is time to drop
it. This reverts commit 28fdfd8 and addresses
#4125, at long last.
git-for-windows-ci pushed a commit that referenced this pull request May 6, 2023
…4389)

Once upon a time, Git for Windows had the need to specify paths in the
config that are relative to the runtime prefix (i.e. relative to the
location where Git for Windows happens to be installed). To support
that, special handling was introduced to treat paths starting with a
forward slash as relative to the runtime prefix. When trying to upstream
this feature, it was determined that it is not portable enough, and it
was deprecated in favor of the new strategy: starting paths with
`%(prefix)/` would indicate that they are relative to the runtime
prefix.

After deprecating the "leading slash means relative to runtime prefix"
feature in v2.34.0 (released November 15th, 2021), it is time to drop
it. This reverts commit 28fdfd8 and addresses
#4125, at long last.
git-for-windows-ci pushed a commit that referenced this pull request May 8, 2023
…4389)

Once upon a time, Git for Windows had the need to specify paths in the
config that are relative to the runtime prefix (i.e. relative to the
location where Git for Windows happens to be installed). To support
that, special handling was introduced to treat paths starting with a
forward slash as relative to the runtime prefix. When trying to upstream
this feature, it was determined that it is not portable enough, and it
was deprecated in favor of the new strategy: starting paths with
`%(prefix)/` would indicate that they are relative to the runtime
prefix.

After deprecating the "leading slash means relative to runtime prefix"
feature in v2.34.0 (released November 15th, 2021), it is time to drop
it. This reverts commit 28fdfd8 and addresses
#4125, at long last.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Warnings about /unix/like/paths on Windows

3 participants