git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Feature request] git config - includeif - resolve symlinks using realpath
@ 2024-03-07  0:20 Lamy Geier
  0 siblings, 0 replies; only message in thread
From: Lamy Geier @ 2024-03-07  0:20 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-07  0:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-07  0:20 [Feature request] git config - includeif - resolve symlinks using realpath Lamy Geier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).