# Fwd: feature request: enable config option paths relative to config location

1 messages from 2020-04-21 to 2020-04-21. Participants: Sparr.
Thread: https://gitlist.dev/t/53276

## Sparr, 2020-04-21 17:55

Subject: Fwd: feature request: enable config option paths relative to config location
Message-ID: <CANp3UNAhWTt4ONhb7tThNJdaQSNQF_RMysmz12d8741+UPMb9A@mail.gmail.com>
URL: https://gitlist.dev/e/CANp3UNAhWTt4ONhb7tThNJdaQSNQF_RMysmz12d8741%2BUPMb9A%40mail.gmail.com
In-Reply-To: <CANp3UNCnxh2Acwvj6tU6GCES3UzQ1JEmAr6qwFL236VVHrRnCA@mail.gmail.com>

```
Currently, setting commit.template to a relative path loads a file
relative to the current git repository root. I would find it useful if
there were a way to specify this and other config paths relative to
the location of the git config file (.gitconfig or
~/.config/git/config or another specified config location).

My use case is distributing dotfiles to a group of users who do not
all keep their git config in the same location. I would like them to
be able to put the config and the commit template in the same place,
wherever that is, and the template be used without needing to change
the config contents.

```
