Git development
 help / color / mirror / Atom feed
From: Lamy Geier <lamyergeier@gmail.com>
To: git@vger.kernel.org
Subject: [Feature request] git config - includeif - resolve symlinks using realpath
Date: Thu, 7 Mar 2024 01:20:34 +0100	[thread overview]
Message-ID: <44a24958-ba39-47aa-a15b-61b13cc8b62a@gmail.com> (raw)

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

                 reply	other threads:[~2024-03-07  0:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44a24958-ba39-47aa-a15b-61b13cc8b62a@gmail.com \
    --to=lamyergeier@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox