threads / discuss / 61066

[Feature request] git config - includeif - resolve symlinks using realpath

Subject: [Feature request] git config - includeif - resolve symlinks using realpath

## tl;dr

One message between Mar 7, 2024 and Mar 7, 2024.

replies: 0people: 1as markdown or json

Lamy Geier· Mar 7, 2024, 00:20 UTC · lore
Hello
It will be useful if the path in includeIf "gitdir" uses the resolved path.

For example, in the following snippet, ~/Documents/Git/Wiki is symlinked to several different locations. When using git from other locations, the following won't get included. I verified this using `git config --list --show-origin --show-scope`

```
[includeIf "gitdir:~/Documents/Git/Wiki/"]
	path = ~/Documents/Git/Wiki/.gitconfig
```
Feature request: Please resolve the path, before using it.
-- 
Thanks and Regards

Lamy

← back to recent threads