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

1 messages from 2024-03-07 to 2024-03-07. Participants: Lamy Geier.
Thread: https://gitlist.dev/t/61066

## Lamy Geier, 2024-03-07 00:20

Subject: [Feature request] git config - includeif - resolve symlinks using realpath
Message-ID: <44a24958-ba39-47aa-a15b-61b13cc8b62a@gmail.com>
URL: https://gitlist.dev/e/44a24958-ba39-47aa-a15b-61b13cc8b62a%40gmail.com

```
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

```
