From: Junio C Hamano <gitster@pobox.com>
To: Yehuda Katz <yehuda@ymkatz.net>
Cc: git@vger.kernel.org, Glen Choo <chooglen@google.com>
Subject: Re: Change in behavior of included safe.directory in system config
Date: Thu, 20 Oct 2022 22:52:22 -0700 [thread overview]
Message-ID: <xmqqzgdpoh9l.fsf@gitster.g> (raw)
In-Reply-To: <CAGBAQ45f6D=XsyiOmumpAnE+OxQpuZXhMsVegrHKsxaN5mc3eQ@mail.gmail.com> (Yehuda Katz's message of "Fri, 21 Oct 2022 01:19:12 -0400")
Yehuda Katz <yehuda@ymkatz.net> writes:
> There seems to be some change in behavior, either to included files or
> to safe.directory between Git 2.36.0 and 2.38.0. I don't see any
> explanation in the release notes.
>
> I push out a system configuration with a configuration management tool
> which is why it is in a separate file.
> If I put the safe.directory configuration in the main system config,
> it works. I don't understand why this is because the value is still
> shown when running a config list.
>
> Basic config:
> [root@myhost myproject]# pwd
> /opt/myproject
> [root@myhost myproject]# cat /etc/gitconfig
> [include]
> path = /etc/gitconfig.d/myproject
Is this
https://lore.kernel.org/git/pull.1360.v2.git.git.1665683027912.gitgitgadget@gmail.com/
perhaps? Can you try the version of Git from my 'next' branch?
next prev parent reply other threads:[~2022-10-21 5:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-21 5:19 Change in behavior of included safe.directory in system config Yehuda Katz
2022-10-21 5:52 ` Junio C Hamano [this message]
2022-10-21 5:56 ` Jeff King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqqzgdpoh9l.fsf@gitster.g \
--to=gitster@pobox.com \
--cc=chooglen@google.com \
--cc=git@vger.kernel.org \
--cc=yehuda@ymkatz.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).