"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

Stefan Sperling <stsp@stsp.name>
Re: add keyword support to tog
Mark Jamsek <mark@jamsek.com>
Wed, 19 Jul 2023 14:33:05 +0200

Download raw body.

On Wed, Jul 19, 2023 at 09:19:48PM +1000, Mark Jamsek wrote:
> As per the subject, this adds support for keywords to the tog blame,
> diff, log, and tree commands, including regress.
> The change to tog.c is quite minimal, although there's also a seemingly
> unrelated change where we now return 1 when exiting with error rather
> than 0, but this is so we can check for invalid keyword results
> otherwise regress thinks tog succeeded unexpectedly. I'm unsure,
> however, if we are exiting 0 here despite error for some reason?

No, I don't think there was a special reason for exit 0.
Probably didn't matter up to now since there was no test suite ;)

ok for the diff