From: "Torsten Bögershausen" <tboegi@web.de>
To: git@vger.kernel.org
Cc: tboegi@web.de
Subject: [PATCH V4] git on Mac OS and precomposed unicode
Date: Sat, 21 Jan 2012 20:36:45 +0100 [thread overview]
Message-ID: <201201212036.46681.tboegi@web.de> (raw)
Changes since V3:
- Be much more defensive:
Do not set core.precomposedunicode=true, even if the file system
probing indicates that it could be true.
(but we don't say that it should be true).
This is to keep better backward compatibility within git.
The user needs to manually enable the precomposition.
However, the .git/config indicates that we have a new
configuration variable, and will encourage people to use it.
- compat/precomposed_utf8.c:
- re-order #includes
- Added some empty lines to make code easier to read.
- Small fixes (xmalloc, errno handling)
- Make function names more consistent by renaming these functions:
argv_precompose() -> precompose_argv()
str_precompose() -> precompose_str()
- Improved the commit message
Torsten Bögershausen (1):
git on Mac OS and precomposed unicode
Documentation/config.txt | 9 ++
Makefile | 3 +
builtin/init-db.c | 2 +
compat/precomposed_utf8.c | 208 ++++++++++++++++++++++++++++++++++++++++++
compat/precomposed_utf8.h | 30 ++++++
git-compat-util.h | 9 ++
git.c | 1 +
t/t3910-mac-os-precompose.sh | 117 +++++++++++++++++++++++
8 files changed, 379 insertions(+), 0 deletions(-)
create mode 100644 compat/precomposed_utf8.c
create mode 100644 compat/precomposed_utf8.h
create mode 100755 t/t3910-mac-os-precompose.sh
--
1.7.8.rc0.43.gb49a8
next reply other threads:[~2012-01-21 19:36 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-21 19:36 Torsten Bögershausen [this message]
2012-01-21 22:14 ` [PATCH V4] git on Mac OS and precomposed unicode Junio C Hamano
-- strict thread matches above, loose matches on Subject: below --
2012-01-21 19:36 Torsten Bögershausen
2012-01-21 22:28 ` Carlos Martín Nieto
2012-01-29 16:26 ` Erik Faye-Lund
2012-01-21 22:56 ` Junio C Hamano
2012-01-22 9:58 ` Nguyen Thai Ngoc Duy
2012-01-22 10:03 ` Nguyen Thai Ngoc Duy
2012-06-24 15:47 ` Torsten Bögershausen
2012-07-25 20:45 ` Robin Rosenberg
2012-01-29 10:29 ` Torsten Bögershausen
2012-01-29 12:57 ` Torsten Bögershausen
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=201201212036.46681.tboegi@web.de \
--to=tboegi@web.de \
--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).