diff options
author | Derrick Stolee <derrickstolee@github.com> | 2022-08-19 04:28:09 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-08-19 10:45:07 -0700 |
commit | 1838e21cff17f97900a4987b35ba70ca48bce4b7 (patch) | |
tree | 7ac22e068f1fb3b100bc78050acae4fe1e408963 /revision.c | |
parent | 11ea33ce444f929908990ec24c58d848373bdda3 (diff) | |
download | git-1838e21cff17f97900a4987b35ba70ca48bce4b7.tar.gz |
t6019: modernize tests with helper
The tests in t6019 are repetitive, so create a helper that greatly
simplifies the test script.
In addition, update the common pattern that places 'git rev-list' on the
left side of a pipe, which can hide some exit codes. Send the output to
a 'raw' file that is then consumed by other tools so the Git exit code
is verified as zero. And since we're using --format anyway, switch to
`git log`, so that we get the desired format and can avoid using sed.
Signed-off-by: Derrick Stolee <derrickstolee@github.com>
Signed-off-by: Elijah Newren <newren@gmail.com>
Acked-by: Derrick Stolee <derrickstolee@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'revision.c')
0 files changed, 0 insertions, 0 deletions