Re: bug patch: exit codes from internal commands are handled incorrectly

2015-03-31 Thread Kenneth Lorber
Ping? The original version of this got some discussion, but this version - nothing. Thanks, Keni On Feb 1, 2015, at 5:32 PM, Kenneth Lorber k...@his.com wrote: On Dec 18, 2014, at 2:18 PM, Junio C Hamano gits...@pobox.com wrote: Kenneth Lorber k...@his.com writes: Bug: exit codes

Re: bug patch: exit codes from internal commands are handled incorrectly

2015-03-31 Thread Junio C Hamano
On Tue, Mar 31, 2015 at 5:10 PM, Kenneth Lorber k...@his.com wrote: Ping? The original version of this got some discussion, but this version - nothing. Pong? I do not know what you meant by this version. Have you followed Documentaiton/SubmittingPatches? Otherwise the mailing list may have

Re: bug patch: exit codes from internal commands are handled incorrectly

2015-02-01 Thread Kenneth Lorber
On Dec 18, 2014, at 2:18 PM, Junio C Hamano gits...@pobox.com wrote: Kenneth Lorber k...@his.com writes: Bug: exit codes from (at least) internal commands are handled incorrectly. E.g. git-merge-file, docs say: The exit value of this program is negative on error, and the number of

Re: bug patch: exit codes from internal commands are handled incorrectly

2014-12-20 Thread Kenneth Lorber
On Dec 18, 2014, at 2:18 PM, Junio C Hamano gits...@pobox.com wrote: Kenneth Lorber k...@his.com writes: Bug: exit codes from (at least) internal commands are handled incorrectly. E.g. git-merge-file, docs say: The exit value of this program is negative on error, and the number of

Re: bug patch: exit codes from internal commands are handled incorrectly

2014-12-18 Thread Torsten Bögershausen
On 18.12.14 03:15, Kenneth Lorber wrote: The situation is actually slightly more complex than I stated previously. From the docs: The exit value of this program is negative on error, But there’s no such thing as a negative error code under Unix, so (at best) that will be exit(255). No

Re: bug patch: exit codes from internal commands are handled incorrectly

2014-12-18 Thread Junio C Hamano
Kenneth Lorber k...@his.com writes: Bug: exit codes from (at least) internal commands are handled incorrectly. E.g. git-merge-file, docs say: The exit value of this program is negative on error, and the number of conflicts otherwise. If the merge was clean, the exit value is 0.

Re: bug patch: exit codes from internal commands are handled incorrectly

2014-12-17 Thread Kenneth Lorber
The situation is actually slightly more complex than I stated previously. From the docs: The exit value of this program is negative on error, But there’s no such thing as a negative error code under Unix, so (at best) that will be exit(255). No patch, because this is getting painfully close