git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] build: add default configuration

From
FCFelipe Contreras <felipe.contreras-re5jqeeqqe8avxtiumwx3w@public.gmane.org>
Date
Sep 18, 2013, 18:23 UTC
Message-ID
<CAMP44s35_emnh9Kce433oy1JW66xB2vaN5f5OO7VF1XqoO=YGQ@mail.gmail.com>
In-Reply-To
<e8ccfba3-5198-4986-9b9d-1d69b965386f.maildroid@localhost>
On Wed, Sep 18, 2013 at 1:13 PM, David Aguilar <davvid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Apologies for top post -- anybody have a recommendation for a better app then maildroid?
>
> Will this not conflict with folks that supply their own gitconfig?

You mean people that provide their own ETC_GITCONFIG? If you mean distributions, their packaging would override /etc/gitconfig, if you mean people that have already a /etc/gitconfig, packaging systems usually save the old one so they can solve the conflict manually (e.g. /etc/gitconfig.pacsave). So no, it would not conflict. If you mean people that have ~/.gitconfig, then absolutely not, because that one takes precedence.

Alternatively, we could have a higher level configuration file (e.g. /usr/share/git/config), but I think that's overkill.

> I like the idea. Docs?  Also, should this not be done in the C side so that we don't waste time reading the config, and also prevent users from overriding these?

But we want them to be easily readable, and possibly allow distributions to easily modify them.

-- 
Felipe Contreras

-- 
You received this message because you are subscribed to the Google Groups "Git for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Previous: David AguilarNext: David Aguilar
Message 3 of 11 in “build: add default configuration”
  1. build: add default configurationFelipe Contreras, Sep 17, 2013
  2. David AguilarSep 18, 2013
  3. Felipe ContrerasSep 18, 2013
  4. David AguilarSep 19, 2013
  5. Felipe ContrerasSep 19, 2013
  6. David AguilarSep 20, 2013
  7. Felipe ContrerasSep 20, 2013
  8. David AguilarSep 21, 2013
  9. Felipe ContrerasSep 21, 2013
  10. David AguilarSep 21, 2013
  11. Felipe ContrerasSep 21, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.