Re: [PATCH v2 08/11] bisect: libify `check_merge_bases` and its dependents
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 31, 2020, 18:40 UTC
- Message-ID
- <xmqqwo97a2rj.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <20200128144026.53128-9-mirucam@gmail.com>
Miriam Rubio <mirucam@gmail.com> writes:
> + * - If a merge base must be tested, on success return -11 a special condition
Is this eleven something the original (scripted version) used, or what this series invented? If the latter, what was the reason the value was chosen, and what were the constraints when choosing the value (e.g. it cannot be used an exit code by something)?
In any case, these values (if there other special codes defined) should be given symbolic names (either #define or enum).