Re: [BUG] log: Non-zero exit code?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]