From: Jeff King <peff@peff.net>
To: "Naumov, Michael (North Sydney)" <Michael.Naumov@Fiserv.com>
Cc: Junio C Hamano <gitster@pobox.com>, git <git@vger.kernel.org>,
"spearce@spearce.org" <spearce@spearce.org>,
"j6t@kdbg.org" <j6t@kdbg.org>, "nico@cam.org" <nico@cam.org>,
"junkio@cox.net" <junkio@cox.net>,
"kusmabite@gmail.com" <kusmabite@gmail.com>,
"mnaoumov@gmail.com" <mnaoumov@gmail.com>
Subject: Re: [PATCH] sideband.c: Get rid of ANSI sequences for non-terminal shell
Date: Thu, 29 May 2014 13:45:16 -0400 [thread overview]
Message-ID: <20140529174516.GA10865@sigill.intra.peff.net> (raw)
In-Reply-To: <81E85F13A4BE084BAF4B1AA24173EDA012924D8B@JWPKEXMBX03.corp.checkfree.com>
On Wed, May 28, 2014 at 03:12:15AM +0000, Naumov, Michael (North Sydney) wrote:
> Some git tools such as GitExtensions for Windows use environment
> variable TERM=msys which causes the weird ANSI sequence shown for the
> messages returned from server-side hooks
> We add those ANSI sequences to help format sideband data on the user's
> terminal. However, GitExtensions is not using a terminal, and the ANSI
> sequences just confuses it. We can recognize this use by checking
> isatty().
> See https://github.com/gitextensions/gitextensions/issues/1313 for
> more details
Please wrap your commit messages (and emails) at something reasonable to
fit on an 80-char terminal with indentation (I usually use 60, but
anything <= 72 is probably fine).
Other than that, I think the patch looks fine.
> P.S. I gave up trying to send this letter from gmail, it eats my tab character
> P.S 2. Sorry, my tab character has been eaten again!
This version looks OK to me (and applies via git-am).
-Peff
next prev parent reply other threads:[~2014-05-29 17:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-28 3:12 [PATCH] sideband.c: Get rid of ANSI sequences for non-terminal shell Naumov, Michael (North Sydney)
2014-05-29 17:45 ` Jeff King [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-05-30 23:10 Naumov, Michael (North Sydney)
2014-06-02 6:30 ` Jeff King
2014-06-02 17:59 ` Junio C Hamano
2014-06-02 23:40 Naumov, Michael (North Sydney)
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=20140529174516.GA10865@sigill.intra.peff.net \
--to=peff@peff.net \
--cc=Michael.Naumov@Fiserv.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=j6t@kdbg.org \
--cc=junkio@cox.net \
--cc=kusmabite@gmail.com \
--cc=mnaoumov@gmail.com \
--cc=nico@cam.org \
--cc=spearce@spearce.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).