From: Junio C Hamano <gitster@pobox.com>
To: Yann Droneaud <yann@droneaud.fr>
Cc: git <git@vger.kernel.org>
Subject: Re: [PATCH 3/4] test: use test_utf8 and GIT_LC_UTF8 where an en_US.UTF-8 locale is required
Date: Fri, 07 Jan 2011 10:48:36 -0800 [thread overview]
Message-ID: <7vpqs87dob.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: <97423472c08cd83373c769bf1cafdb9b85db37e3.1294312018.git.yann@droneaud.fr> (Yann Droneaud's message of "Thu\, 6 Jan 2011 15\:22\:16 +0100")
Yann Droneaud <yann@droneaud.fr> writes:
> Signed-off-by: Yann Droneaud <yann@droneaud.fr>
> ---
> t/t9100-git-svn-basic.sh | 25 ++++++++-----------------
> t/t9129-git-svn-i18n-commitencoding.sh | 13 +++----------
> 2 files changed, 11 insertions(+), 27 deletions(-)
Both are nice changes; this patch shows the earlier abstraction in 2/4 is
the right direction to go.
> compare_svn_head_with () {
> # extract just the log message and strip out committer info.
> # don't use --limit here since svn 1.1.x doesn't have it,
> - LC_ALL="$a_utf8_locale" svn log `git svn info --url` | perl -w -e '
> + LC_ALL=$GIT_LC_UTF8 svn log `git svn info --url` | \
> + LC_ALL=$GIT_LC_UTF8 perl -w -e '
Style.
LC_ALL=... svn log ... |
LC_ALL=... perl -w -e '
...
'
When you end a line with '|', the shell knows that you haven't finished
talking to it, so there is no need for the trailing bs-lf there. Indent
the downstream of the pipe to the same level as the upstream.
next prev parent reply other threads:[~2011-01-07 18:49 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-18 14:41 [PATCH] t9129: fix UTF-8 locale detection Yann Droneaud
2010-05-18 16:05 ` Michael J Gruber
2010-05-18 17:08 ` Yann Droneaud
2010-05-18 17:16 ` Yann Droneaud
2010-05-18 17:45 ` Linus Torvalds
2010-05-18 19:58 ` Andreas Schwab
2010-05-18 20:00 ` Linus Torvalds
2010-05-18 20:49 ` Yann Droneaud
2010-05-19 15:16 ` Yann Droneaud
2010-06-02 19:14 ` Re* " Junio C Hamano
2010-05-24 17:08 ` Yann Droneaud
2010-05-25 7:33 ` Michael J Gruber
2011-01-06 14:22 ` [PATCH/RFC 0/4] en_US.UTF-8 " Yann Droneaud
2011-01-06 14:22 ` [PATCH 1/4] test: add a library to detect an en_US.UTF-8 locale Yann Droneaud
2011-01-07 18:37 ` Junio C Hamano
2011-01-06 14:22 ` [PATCH 2/4] test-lib.sh: add test_utf8() function Yann Droneaud
2011-01-07 18:45 ` Junio C Hamano
2011-01-06 14:22 ` [PATCH 3/4] test: use test_utf8 and GIT_LC_UTF8 where an en_US.UTF-8 locale is required Yann Droneaud
2011-01-07 18:48 ` Junio C Hamano [this message]
2011-01-06 14:22 ` [PATCH 4/4] t9129: use "$PERL_PATH" instead of "perl" Yann Droneaud
2011-01-07 18:49 ` Junio C Hamano
2010-05-18 20:37 ` [PATCH] t9129: fix UTF-8 locale detection Yann Droneaud
2010-05-19 2:44 ` Miles Bader
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=7vpqs87dob.fsf@alter.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=yann@droneaud.fr \
/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).