From: Ramkumar Ramachandra <artagnon@gmail.com>
To: "René Scharfe" <rene.scharfe@lsrfire.ath.cx>
Cc: "Git Mailing List" <git@vger.kernel.org>,
"Junio C Hamano" <gitster@pobox.com>,
"Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
Subject: Re: [BUG] log: Non-zero exit code?
Date: Sat, 21 Aug 2010 13:16:36 +0530 [thread overview]
Message-ID: <20100821074633.GA31130@kytes> (raw)
In-Reply-To: <4C6F8164.3020005@lsrfire.ath.cx>
Hi René,
René Scharfe writes:
> You can leave out the test line entirely, as test_expect_success already
> checks for an exit code of zero.
Right. I should have actually read test-lib.sh before submitting a
test :p
> The test passes for me with 1.7.2.2, next and pu. Which version of git
> do you use?
I can reproduce this on the latest `master` and `pu`.
> Error code 141 smells like the pager. Can you reproduce the problem
> without the pager, i.e. like this?
>
> git --no-pager log
Indeed, it's a pager problem as Ævar pointed out on IRC. $(git
--no-pager log) and $(GIT_PAGER='perl -pe ""' git log) return
0. Something in `less` changed?
-- Ram
prev parent reply other threads:[~2010-08-21 7:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-21 6:22 [BUG] log: Non-zero exit code? Ramkumar Ramachandra
2010-08-21 6:31 ` Ramkumar Ramachandra
2010-08-21 7:33 ` René Scharfe
2010-08-21 7:46 ` Ramkumar Ramachandra [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=20100821074633.GA31130@kytes \
--to=artagnon@gmail.com \
--cc=avarab@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=rene.scharfe@lsrfire.ath.cx \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.