Thanks Patrick, I do like to register my interest to work on:
Avoid pipes in git related commands in test scripts, based of,
https://github.com/git/git/commit/c6f44e1da5e88e34
Test script to implement changes - t6050-replace.sh
Code sample -
`test_expect_success 'replace the author' '
git cat-file commit $HASH2 | grep "author A U Thor" &&
R=$(git cat-file commit $HASH2 | sed -e "s/A U/O/" | git
hash-object -t commit --stdin -w) &&
git cat-file commit $R | grep "author O Thor" &&
git update-ref refs/replace/$HASH2 $R &&
git show HEAD~5 | grep "O Thor" &&
git show $HASH2 | grep "O Thor"
'
`
I do like to hear your thought on this. Thanks againOn Mon, 7 Oct 2024 at 06:21, Patrick Steinhardt <ps@pks.im> wrote:
Show 15 quoted lines
>
> Hi,
>
> On Sun, Oct 06, 2024 at 01:12:19PM +0100, Chizoba ODINAKA wrote:
> > Hello, Chizoba here. I am interested in contributing to Git - Convert
> > unit tests to use the clar testing framework.
> > PS: I also have read:
> > [1]: https://git.github.io/Mentoring-Program-Guide/
> > [2]: https://git.github.io/General-Microproject-Information/
>
> welcome to our community, thanks for your interest in contributing to
> Git! Let us know in case you hit any issues while working on your
> microproject of choice.
>
> Patrick