public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* UTF-8 in glibc commit messages
@ 2021-04-13 19:21 Paul Eggert
  2021-04-13 20:19 ` Joseph Myers
  0 siblings, 1 reply; 9+ messages in thread
From: Paul Eggert @ 2021-04-13 19:21 UTC (permalink / raw)
  To: GNU C Library

Today I tried to install a glibc fix with some non-ASCII chars in the 
commit message, but sourceware.org rejected the fix with the diagnostic 
reproduced at the end of this email.

I'm puzzled by the message, as I see that existing commit messages use 
UTF-8, e.g., 41f013cef24884604c303435dd1915be2ea5c0e0's commit message 
contains the phrase "Developer’s Manual" with the same curly apostrophe 
that my proposed commit used. Has something changed recently on 
sourceware.org to reject such commits?

I assume that UTF-8 is fine in commit messages as we use it to spell 
contributors' names. I worked around this particular problem by 
ASCIIfying the quotes but I'd rather spell people's names nicely in any 
future patches. (It might make sense for the commit hook to rejects some 
troublesome Unicode characters but that's a somewhat different topic.)

Here's the diagnostic I got:

$ git push
Enumerating objects: 21, done.
Counting objects: 100% (21/21), done.
Delta compression using up to 4 threads
Compressing objects: 100% (11/11), done.
Writing objects: 100% (11/11), 3.79 KiB | 242.00 KiB/s, done.
Total 11 (delta 10), reused 0 (delta 0), pack-reused 0
remote: *** Invalid revision history for commit 
371ef6b43fcb5052444c3f0e1ec09d01c5017149:
remote: *** It contains characters not in the ISO-8859-15 charset.
remote: ***
remote: *** Below is the first line where this was detected (line 16):
remote: *** | Use code font for ‘malloc’ instead of roman font.
remote: ***                     ^
remote: ***                     |
remote: ***
remote: *** Please amend the commit's revision history to remove it
remote: *** and try again.
remote: error: hook declined to update refs/heads/master
To sourceware.org:/git/glibc.git
  ! [remote rejected]       master -> master (hook declined)
error: failed to push some refs to 'sourceware.org:/git/glibc.git'


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

end of thread, other threads:[~2021-04-14 20:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-13 19:21 UTF-8 in glibc commit messages Paul Eggert
2021-04-13 20:19 ` Joseph Myers
2021-04-14  0:06   ` Paul Eggert
2021-04-14 15:01     ` Mike Frysinger
2021-04-14 17:41       ` DJ Delorie
2021-04-14 18:08       ` Paul Eggert
2021-04-14 18:16         ` Adhemerval Zanella
2021-04-14 18:24           ` Paul Eggert
2021-04-14 20:28         ` Mike Frysinger

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 read-only IMAP folder(s) and NNTP newsgroup(s).