Commits
- Commit:
283939fb8245f1600227fa1cde3c5623666fac8d
- From:
- Lucas Gabriel Vuotto <lucas@sexy.is>
- Via:
- Omar Polo <op@omarpolo.com>
- Date:
replace date, strftime %G-%m-%d with %F
Use the more predictable %F, aka %Y-%m-%d, instead of %G-%m-%d. %G
follows the definition of ISO-8601 week-based year, which is weird.
In particular, 2024 is one of such years with weird behaviour:
$ date -jf %Y-%m-%d +"%F %G-%m-%d" 2024-12-30
2024-12-30 2025-12-30
Diff from Lucas Gabriel Vuotto (thanks!); stsp agrees
- Commit:
79c49d8454129776fe282b780f5836be20ea0052
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
regress: nix 'set -A' kshism from tests
As reported by naddy, this is a non-portable Korn shell construct.
Instead, use the one argument array then make faux space-delimited string
"arrays" for the other ids; they can still be indexed with pop_idx.
improved by + ok naddy@
- Commit:
c4df265ebabf6993a1c217bb2bb59d5aeb3fe5e5
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: add support for commit keywords
Allow keywords as arguments to options and operands for the blame, diff, log,
and tree commands. Also, return 1 when exiting tog with error rather than 0
so regress can discern success from failure.
ok stsp@
- Commit:
8d212112582e612c39aa399858bc0b10c74782d0
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: blame regress and new test framework wait instruction
Basic blame view test required adding the WAIT_FOR_UI instruction to delay
screen dumps till the ui has been completely rendered. This will also apply
to future test cases such as limited log views and further blame test cases.
ok stsp@