git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* General support for ! in git-config values
@ 2012-02-01 17:33 Ævar Arnfjörð Bjarmason
  2012-02-01 18:40 ` Jeff King
  0 siblings, 1 reply; 20+ messages in thread
From: Ævar Arnfjörð Bjarmason @ 2012-02-01 17:33 UTC (permalink / raw)
  To: Git Mailing List

alias.* values can start with !, in which case a shell command will be
executed with the arguments you give.

For a program I'm working on (git-deploy) I'd like to have this as a
general facility, i.e. users can specify either:

    foo.bar = value

Or:

    foo.bar = !cat /some/path

I'm wondering why git-config doesn't do this already, if there's no
reason in particular I can just patch it in, either as a new option:

    git config --with-exec --get foo.bar

Or as the default behavior.

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2012-02-03 12:13 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-01 17:33 General support for ! in git-config values Ævar Arnfjörð Bjarmason
2012-02-01 18:40 ` Jeff King
2012-02-01 21:25   ` Ævar Arnfjörð Bjarmason
2012-02-01 22:21     ` Junio C Hamano
2012-02-02  0:16       ` demerphq
2012-02-02  0:27         ` Junio C Hamano
2012-02-02  1:14           ` demerphq
2012-02-02  1:39             ` Junio C Hamano
2012-02-02  1:57               ` demerphq
2012-02-02  2:38                 ` Jeff King
2012-02-02  9:44                   ` demerphq
2012-02-02  9:54                     ` Jeff King
2012-02-02 10:21                       ` demerphq
2012-02-03  5:08                         ` Kyle Moffett
2012-02-03  6:11                           ` Junio C Hamano
2012-02-03  7:35                             ` Kyle Moffett
2012-02-03 12:13                             ` Jeff King
2012-02-03 12:09                           ` Jeff King
2012-02-02  1:41             ` Junio C Hamano
2012-02-02  2:06               ` demerphq

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).