git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Fwd: feature request: enable config option paths relative to config location
       [not found] <CANp3UNCnxh2Acwvj6tU6GCES3UzQ1JEmAr6qwFL236VVHrRnCA@mail.gmail.com>
@ 2020-04-21 17:55 ` Sparr
  0 siblings, 0 replies; only message in thread
From: Sparr @ 2020-04-21 17:55 UTC (permalink / raw)
  To: git

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.

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

only message in thread, other threads:[~2020-04-21 17:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CANp3UNCnxh2Acwvj6tU6GCES3UzQ1JEmAr6qwFL236VVHrRnCA@mail.gmail.com>
2020-04-21 17:55 ` Fwd: feature request: enable config option paths relative to config location Sparr

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).