Re: [PATCH] Only use ETC_GITCONFIG=$(prefix)/etc/gitconfig ifeq ($(prefix),$(HOME))

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH] Only use ETC_GITCONFIG=$(prefix)/etc/gitconfig ifeq ($(prefix),$(HOME))

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:06

Is this really necessary?

I personally think distro people (or anybody who configures git
for system-wide deployment for that matter) already has Makefile
wrapper (a la debian/rules) to take care of this and other
issues.

Re: [PATCH] Only use ETC_GITCONFIG=$(prefix)/etc/gitconfig ifeq ($(prefix),$(HOME))

From: Josh Triplett <hidden>
Date: 2016-06-15 22:43:06

Junio C Hamano wrote:
Is this really necessary?

I personally think distro people (or anybody who configures git
for system-wide deployment for that matter) already has Makefile
wrapper (a la debian/rules) to take care of this and other
issues.
So did I.  Then I noticed (while stracing git to diagnose the issue with
git-add searching the whole working copy for .gitignore files) that the
Debian-packaged git looked for /usr/etc/gitconfig.  See
<http://bugs.debian.org/420675>.  Apparently few enough people use
/etc/gitconfig that nobody noticed and reported that it didn't work. :)

Why not make the defaults more resistant to broken configuration?

- Josh Triplett
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help