From: Junio C Hamano <gitster@pobox.com>
To: Audrey Dutcher <audrey@rhelmot.io>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] git-compat-util.h: Bump _XOPEN_SOURCE on OpenBSD
Date: Fri, 21 Feb 2025 18:07:49 -0800 [thread overview]
Message-ID: <xmqqplja91fu.fsf@gitster.g> (raw)
In-Reply-To: <CADanSV3w++kkTgedLQorKgJ15kc5bEkNvYTidRU1UbwW4jCC6Q@mail.gmail.com> (Audrey Dutcher's message of "Fri, 21 Feb 2025 13:41:08 -0700")
Audrey Dutcher <audrey@rhelmot.io> writes:
>> Is this a recent regression? Blaming these two line ranges ...
>>
>> >
>> > [1] https://github.com/openbsd/src/blob/6a403588e27467d1f271831ca1de62a3befea6a0/include/stdio.h#L236-L237
>> > [2] https://github.com/openbsd/src/blob/6a403588e27467d1f271831ca1de62a3befea6a0/sys/sys/cdefs.h#L299-L302
>>
>> ... in the OpenBSD repository says they haven't changed for many
>> years, and I am wondering what triggered this all of a sudden.
>>
>> If we know how we used to have no issue, in addition to how we now
>> have issue with the current OpenBSD (which you outlined very well
>> above), and when the situation changed, please add to the proposed
>> log message. That would help people on OpenBSD to decide when they
>> want to upgrade their copy of Git.
>
> The thing that changed was the release of clang 19, which enabled the
> mentioned Werror by default. This is showing up now because I am
> experimenting with building software for OpenBSD through nixpkgs,
> which prefers the most recent version of everything. I am not sure
> what of this is appropriate to add to the commit message.
When reviewers help me by asking questions on what I wrote in a
proposed commit log message, a trick I try to stick to is to pretend
that they are not who are asking, but the question is coming from
those who read the commit in the future and they do not have an easy
way to ask me the question. The only way for me to help them is by
updating the message they would read when they see the commit (IOW,
I unfortunately would not have the luxury of going back-and-forth).
In this case, if I were writing the message for the commit, "Unlike
versions of clang earlier than 19, clang 19, enables the
'-Werror=...' option by default...", would be something that would
help them. And as Peff mentioned elsewhere in the thread, "When
HAVE_GETDELIM is enabled" would also be an important clue to leave.
Thanks.
prev parent reply other threads:[~2025-02-22 2:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-21 18:02 [PATCH] git-compat-util.h: Bump _XOPEN_SOURCE on OpenBSD Audrey Dutcher
2025-02-21 20:34 ` Junio C Hamano
2025-02-21 20:41 ` Audrey Dutcher
2025-02-21 20:54 ` Jeff King
2025-02-22 2:07 ` Junio C Hamano [this message]
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=xmqqplja91fu.fsf@gitster.g \
--to=gitster@pobox.com \
--cc=audrey@rhelmot.io \
--cc=git@vger.kernel.org \
/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).